The 43-year-old actress marked the occasion by dedicating a photo and sweet message to the 39-year-old actor on Instagram.
"2 yrs. Te Amo. Dont ever change," she captioned a picture of herself and Manganiello at the Los Angeles premiere of Magic Mike XXL.
Vergara and Manganiello got engaged on Christmas in 2014 and married in Palm Beach, Fla., in November. The actress, who shares 23-year-old son Manolo with her ex-husband, said she's open to having more children in the Feb. 4 issue of Net-a-Porter.
"I wouldn't mind having another child: [Joe] is younger than me and he wants kids so we're trying to figure out what we're going to do," she said. "The idea of doing it all again doesn't scare me but, hey, it's not like it's going to happen naturally, is it?"
Vergara said she is open to in-vitro fertilization, having previously frozen embryos with ex-fiancé Nick Loeb. The actress told Cosmo Latina in 2015 that having children would make her and Manganiello "very happy" but said it's "not a priority" in their lives.
Vergara is best known for playing Gloria Delgado-Pritchett on the ABC sitcom Modern Family, which will return for an eighth season in the fall. Manganiello will next appear in Drunk Parents with Salma Hayek.