The 2018 midterm elections will take place on Tuesday, so it’s important to know when polling stations are open in each state before you go out to vote.

Voting hours vary from state to state, and some states accept early voting.

Here are the opening and closing times for polls in each state, including the District of Columbia (all times are local times). For more information, visit ballotpedia.org:

SLIDESHOW: DONALD TRUMP’S 30 CRAZIEST TWEETS

Alabama: 7 a.m. to 7 p.m. Most of Alabama falls within the Central time zone. Portions of eastern Alabama, including Phenix City and some surrounding areas, observe Eastern time as opposed to Central time.

Alaska: 7 a.m. to 8 p.m.

Arizona: 6 a.m. to 7 p.m. Arizona generally observes Mountain Standard Time; however, the Navajo Nation observes daylight saving time. Because of this, Mountain Daylight Time is sometimes observed in Arizona.

Arkansas: 7:30 a.m. to 7:30 p.m.

California: 7 a.m. to 8 p.m.

Colorado: 7 a.m. to 7 p.m. Poll times apply to those who chose to vote in person on Election Day, since Colorado is an all-mail voting state.

Connecticut: 6 a.m. to 8 p.m.

Delaware: 7 a.m. to 8 p.m.

District of Columbia: 7 a.m. to 8 p.m.

Florida: 7 a.m. to 7 p.m.

Georgia: 7 a.m. to 7 p.m. In all cities having a population of 300,000 or more, polling places remain open until 8 p.m.

Hawaii:  7 a.m. to 6 p.m.

Idaho: 8 a.m. to 8 p.m. Polling places may open at 7 a.m. at the discretion of the county clerk.

Illinois: 6 a.m. to 7 p.m.

Indiana: 6 a.m. to 6 p.m.

Iowa: 7 a.m. to 9 p.m.

Kansas: 7 a.m. to 7 p.m. Counties are given the discretion to open polls prior to 7 a.m. or close polls after 7 p.m.

Kentucky: 6 a.m. to 6 p.m.

Louisiana: 6 a.m. to 8 p.m. For elections held on Saturdays, polls open at 7 a.m. and close at 8 p.m.

Maine: 6 a.m. to 8 p.m. Polling places in municipalities with a population of less than 500 open between 6 a.m. and 10 a.m.; those in municipalities with a population of 500 or more open between 6 a.m. and 8 a.m. All polling places close at 8 p.m.\

Maryland: 7 a.m. to 8 p.m.

Massachusetts: 7 a.m. to 8 p.m. Municipalities can open polling places as early as 5:45 a.m. All polling places are required to remain open for at least 13 hours.

Michigan: 7 a.m. to 8 p.m.

Minnesota: 7 a.m. to 8 p.m. Municipalities with fewer than 500 registered voters can open polling places as late as 10 a.m.

Mississippi: 7 a.m. to 7 p.m.

Missouri: 6 a.m. to 7 p.m.

Montana: 7 a.m. to 8 p.m. Polling places having fewer than 400 registered voters are open from at least noon to 8 p.m., or until all registered voters in any precinct have voted, at which time that precinct’s polling place has to be closed immediately.

Nebraska: 8 a.m. to 8 p.m. (Central time zone); 7 a.m. to 7 p.m. (Mountain time zone)

Nevada: 7 a.m. to 7 p.m.

New Hampshire: Varies by municipality In general, polling places open between 6 a.m. and 11 a.m. and close at 7:00 p.m.

New Jersey: 6 a.m. to 8 p.m.

New Mexico: 7 a.m. to 7 p.m.

New York: 6 a.m. to 9 p.m. (general elections); primary times vary by county For primary elections, polling places open at 6 a.m. and close at 9 p.m. Eastern time in New York City and the counties of Nassau, Suffolk, Westchester, Rockland, Orange, Putnam, and Erie. Polling places open at noon and close at 9 p.m. in all other counties. For general elections, polling places open at 6 a.m. and close at 9 p.m. in the entire state.

North Carolina: 6:30 a.m. to 7:30 p.m. The hours can be extended if polling times are delayed or interrupted by more than 15 minutes.

North Dakota: Open between 7 a.m. to 9 a.m.; close between 7 p.m. to 9 p.m. Precincts that had fewer than 75 votes in the last general election can open as late as noon.

Ohio: 6:30 a.m. to 7:30 p.m.

Oklahoma: 7 a.m. to 7 p.m.

Oregon: No polling hours (vote-by-mail) Oregon is an all-mail voting state. A voter is able to vote on Election Day at a local municipal clerk’s office. All ballots must be received by 8 p.m. Pacific time.

Pennsylvania: 7 a.m. to 8 p.m.

Rhode Island: 7 a.m. to 8 p.m. Opening times for the presidential preference primary and the statewide primary elections are allowed to be later than 7 a.m.

South Carolina: 7 a.m. to 7 p.m.

South Dakota: 7 a.m. to 7 p.m.

Tennessee: Varies by county At least 15 days prior to the election, each county determines the opening time for polling places in that county. Polling places in the eastern time zone close at 8 p.m., while polling places in the central time zone close at 7 p.m.

Texas: 7 a.m. to 7 p.m.

Utah: 7 a.m. to 8 p.m.

Vermont: Open between 5 a.m. to 10 a.m.; close at 7 p.m.

Virginia: 6 a.m. to 7 p.m.

Washington: No polling hours (vote-by-mail) Washington is an all-mail voting state and does not have polling places. Ballots must be postmarked no later than Election Day. They can also be returned to a designated ballot drop box or returned in person to the county elections department by 8 p.m. on Election Day.

West Virginia: 6:30 a.m. to 7:30 p.m.

Wisconsin: 7 a.m. to 8 p.m.

Wyoming: 7 a.m. to 7 p.m.