Jimmy Kimmel Threw Justin Theroux's Bachelor Party!

Getty Images

Most people can only imagine what a Kimmel-hosted bachelor party would be like.

Before Justin Theroux and Jennifer Aniston tied the knot in a surprise wedding on Wednesday, the 43-year-old star celebrated his last un-married days with a fun Bachelor party thrown by Jimmy Kimmel!

Us Weekly reports that Kimmel hosted the party at his home in West Hollywood on Monday, where Theroux and his buddies reportedly kicked back and shared some drinks in a barn Kimmel built next to his house.

WATCH: Jennifer Aniston and Justin Theroux Married in Surprise Wedding!

Kimmel has been close to the couple for some time. Aniston and Theroux were guests at Kimmel's 2013 wedding to Molly McNearney, and the year before the couples vacationed together in Cabo San Lucas.

Theroux and Aniston got married at their home in Bel Air, California on Wednesday night during a secret ceremony that was disguised as a birthday party for Theroux, who turns 44 on Aug. 10.

WATCH: Jennifer Aniston and Justin Theroux Jet Off on Honeymoon!

After the ceremony, the newlyweds boarded a private jet in Van Nuys, California, and took off for their romantic honeymoon in Bora Bora.

For more on the couple's star-studded yet intimate ceremony, check out the video below.