Maryland typically has closed primaries, although it is up to the state political parties to decide. Voters registered with a particular party may only vote in that party's primary. 17-year-olds can vote in the primary election if they will be 18 by the corresponding general election.