New England Patriots quarterback Tom Brady got a buzz cut for a cancer research institute.

Brady was the mystery guest at Thursday's "Saving by Shaving" annual fundraiser for the Dana-Farber Cancer Institute in Boston.

New England Patriots quarterback Tom Brady, left, and Massachusetts Gov. Charlie Baker, right, pose for a selfie as they get their heads shaved as part of Saving By Shaving 5, Thursday, March 8, 2018, in Quincy, Mass. Brady was the mystery guest at Thursday's "Saving by Shaving" annual fundraiser for the Dana-Farber Cancer Institute in Boston. (Jessica Rinaldi /The Boston Globe via AP)

New England Patriots quarterback Tom Brady, left, and Massachusetts Gov. Charlie Baker, right, pose for a selfie as they get their heads shaved as part of Saving By Shaving 5, Thursday, March 8, 2018, in Quincy, Mass. Brady was the mystery guest at Thursday's "Saving by Shaving" annual fundraiser for the Dana-Farber Cancer Institute in Boston. (Jessica Rinaldi /The Boston Globe via AP)

Brady showed off his new look on Instagram after his long, brown hair was shaved down with a razor.

Massachusetts Gov. Charlie Baker had his head shaved too.

Massachusetts Gov. Charlie Baker, right, and New England Patriots quarterback Tom Brady, left, high five as they get their heads shaved at the "Saving By Shaving" event in support of the Dana-Farber Cancer Institute at Granite Telecommunications in Quincy, Mass., Thursday, March 8, 2018. ( John Wilcox /The Boston Herald via AP)

Massachusetts Gov. Charlie Baker, right, and New England Patriots quarterback Tom Brady, left, high five as they get their heads shaved at the "Saving By Shaving" event in support of the Dana-Farber Cancer Institute at Granite Telecommunications in Quincy, Mass., Thursday, March 8, 2018. ( John Wilcox /The Boston Herald via AP)

Granite Telecommunications holds the event at its headquarters in Quincy, Massachusetts. The company pledged to give over $5 million to the cancer institute if 1,000 people shaved their heads or beards.

Granite Telecommunications says 1,200 people participated and it'll contribute $6.5 million for its fifth annual event.

Brady says it was an honor to join the fun and support the great work of Dana-Farber.

New England Patriots quarterback Tom Brady gets his head shaved by Pini Swissa at the "Saving By Shaving" event in support of the Dana-Farber Cancer Institute at Granite Telecommunications in Quincy, Mass., Thursday, March 8, 2018. Brady was the mystery guest at Thursday's "Saving by Shaving" annual fundraiser for the Dana-Farber Cancer Institute in Boston. ( John Wilcox /The Boston Herald via AP)

New England Patriots quarterback Tom Brady gets his head shaved by Pini Swissa at the "Saving By Shaving" event in support of the Dana-Farber Cancer Institute at Granite Telecommunications in Quincy, Mass., Thursday, March 8, 2018. Brady was the mystery guest at Thursday's "Saving by Shaving" annual fundraiser for the Dana-Farber Cancer Institute in Boston. ( John Wilcox /The Boston Herald via AP)