A closed primary is a type of primary election where only voters who are formally affiliated with a political party in advance of the election date are allowed to participate in that party's primary.