Scott Olson/Getty Images

By Gintautas Dumcius | gdumcius@masslive.com

Massachusetts voters head to the polls on Tuesday, Sept. 4, to vote in party primaries.

Races on the ballot include federal positions in the US Senate and US House of Representatives, and Beacon Hill jobs like governor, state Senate and state House.

When you walk into your polling location the day after Labor Day, you can pull one of three ballots: Democratic, Republican or Libertarian.

Here's a look at the Democratic primary ballot. (The Republican primary ballot is available here.)

UPDATE: Here's what the general election ballot looks like.

Don't Edit

MassLive obtained a sample ballot from Boston City Hall.

Your ballot will vary depending on which ward and precinct you live in.

Don't Edit

US Senate

US Sen. Elizabeth Warren is running for a second six-year term.

She isn't facing a Democratic challenger, but she'll be on the November ballot with whoever wins the GOP primary. The three Republican candidates angling to face her are state Rep. Geoff Diehl, former Mitt Romney aide Beth Lindstrom and Winchester businessman John Kingston.

Don't Edit

Governor

Democrats will have a choice between two men who are looking to take back the Corner Office after four years of Republican Gov. Charlie Baker.

Jay Gonzalez, ex-Gov. Deval Patrick's budget chief, and environmental activist Bob Massie are both running for the chance to take on Baker in November.

But first Baker has to clear his own primary, with anti-gay pastor Scott Lively on the Republican ballot.

Don't Edit

Lieutenant Governor

Quentin Palfrey, a former Obama administration official, is facing off against comedian Jimmy Tingle in the race for lieutenant governor.

The lieutenant governor is the governor's second-in-command, and serves as acting governor if the governor dies, leaves the state or can't perform the job for one reason or another. The lieutenant governor also chairs the Governor's Council, an independently elected body from the colonial era that vets judicial nominees.

(Gov. Baker's lieutenant governor, Karyn Polito, isn't facing opposition in the GOP primary.)

Don't Edit

Don't Edit

Attorney General

Attorney General Maura Healey, running for a second four-year term, doesn't face a Democratic opponent on the ballot.

Once she gets past the Sept. 4, primary, she'll face a Republican candidate.

The two Republican candidates are James McMahon of Bourne and Daniel Shores of Hingham.

Don't Edit

Secretary of State

One of the most contentious primary races is the one between Secretary of State Bill Galvin and Josh Zakim, a Boston city councilor who launched a challenge against the longtime incumbent.

Galvin has held the job since 1995.

The secretary of state oversees elections, serves as the liaison to the US Census, and regulates securities, among other duties.

The winner of the Democratic primary will face Anthony Amore, the security director of the Gardner Museum in Boston. Amore does not have a challenger in the GOP primary.

Don't Edit

Treasurer and Auditor

The Democratic incumbents in the offices of state treasurer and state auditor -- Deb Goldberg of Brookline and Suzanne Bump of Easton -- don't have primary challengers, and neither do their general election opponents.

Goldberg is expected to face off against state Rep. Keiko Oral of Lakeville, while Bump has drawn an opponent in Helen Brady of Concord.

Don't Edit

US House

This is one of the sections where it depends on which district you live in.

In this case, the Massachusetts Eighth has a three-way primary, with incumbent Stephen Lynch of South Boston, Brianna Wu of Dedham and Christopher Voehl of Milton. Whoever wins the Democratic primary won't face a GOP challenger in November.

The Massachusetts First features a contest between longtime incumbent Richard Neal and Tahirah Amatul-Wadud, both of Springfield. There is no GOP challenger.

The Massachusetts Third has 10 people in the Democratic primary, due to Niki Tongas declining to run for another two-year term. The winner will face Rick Green, a Pepperell businessman, who isn't facing a GOP primary opponent.

The listed Democratic candidates in the Massachusetts Third are Jeffrey Ballinger of Andover, Alexandra Chandler of Haverhill, Been Das of Lowell, Rufus Gifford of Concord, Leonard Golder of Stow, Daniel Koh of Andover, Barbara L'Italien of Andover, Bopha Malone of Bedford, Juana Matias of Lawrence and Lori Trahan of Westford.

In the Fourth District, incumbent Rep. Joseph Kennedy III faces Gary Rucinski of Newton. There is no GOP challenger.

The Fifth District's Katherine Clark doesn't have a Democratic challenger, but will face the winner of a two-day GOP primary. The two candidates are John Hugo of Woburn and Louis Kuchnir of Southborough.

Rep. Seth Moulton of the northeastern Sixth District has no fellow Democrat on the ballot with him, and he will face the GOP's Joseph Schneider of Beverly on the ballot.

Incumbent Michael Capuano of Somerville faces Boston City Councilor At-Large Ayanna Pressley in the Democratic primary for the Massachusetts Seventh. There is no GOP challenger.

For the Massachusetts Ninth, Incumbent Rep. Bill Keating of Bourne has William Cimbrelo of Barnstable as a Democratic primary opponent before the winner of that match faces Peter Tedeschi of Marshfield.

Don't Edit

Governor's Council

The Governor's Council is an independently elected body that vets the governor's judicial nominees, among other duties. The council is a holdover from colonial times.

There are eight of them, and they represent sprawling districts that stretch across the state.

In this case, incumbent Terrence Kennedy does not face a Democratic primary opponent, or a Republican one.

Don't Edit

Don't Edit

State senators and representatives

This is another section that the name will vary depending on where you live and who's already at the Statehouse on Beacon Hill.

Most incumbents aren't facing challengers, though a number of top lieutenants to House Speaker Robert DeLeo have drawn opponents from the Democratic Party's liberal flank.

The full list is available here.

Don't Edit

District Attorney

In Boston, as well as Revere, Chelsea and Winthrop, a five-way Democratic race for Suffolk County District Attorney is set to come to conclusion. Prosecutor Dan Conley opted against running for another term, setting off the scramble for his seat.

There is no GOP challenger in the deep-blue district.

Incumbent Middlesex DA Marian Ryan is facing off against fellow Democrat Donna Patalano of Winchester.

A three-way Democratic race is underway for Berkshire District Attorney between Paul Caccaviello of Dalton, Andrea Harrington of Richmond and Judith Knight of Lee.

There is no GOP challenger in any of the district attorney races. Two incumbent Republican District Attorneys don't face Democratic challengers: Plymouth DA Timothy Cruz and Cape & Islands DA Michael O'Keefe.

Don't Edit

The rest of the ballot

The entire ballot is available below.

Don't Edit

Don't Edit

Gintautas Dumcius/MassLive

Read more:

Absentee ballots available for Sept. 4 Massachusetts primary

Gubernatorial candidates Bob Massie, Jay Gonzalez spar over experience

Comedian Jimmy Tingle wants to bring 'out of the box' ideas to lieutenant governor's office

Quentin Palfrey runs to bring fight against inequality to lieutenant governor's office

Secretary of state candidates Bill Galvin, Josh Zakim trade charges in testy debate

Don't Edit