In 2014, Shanahan married Jeremy Asher Kranz, a San Francisco Bay Area investor and finance executive.[3][68] They had dated since 2011.[10] Weeks before their marriage, she began an affair with Sergey Brin, a co-founder of Google, which Kranz discovered from texts on her phone.[10] Kranz and Shanahan divorced in 2015.[66] Shanahan had met Brin at a yoga festival in Lake Tahoe in 2014;[7] they married in 2018.[7][8] They have a daughter together,[2] born in 2018.[32] Brin and Shanahan maintained an estate at Point Dume in Malibu, California, purchased in 2020.[67]
Shanahan and Brin separated in December 2021,[2][68] and Brin filed for divorce in January 2022.[68] In 2022, the Wall Street Journal reported that a reason for the breakup was a "brief affair" in 2021 between Shanahan and Elon Musk.[68][65] Three people interviewed as part of a 2024 New York Times investigation said that Shanahan and Brin separated after Shanahan had a sexual encounter with Musk in 2021.[10] Shanahan[2] and Musk denied having had an affair.[69][70][16] The Wall Street Journal said: "We are confident in our sourcing, and we stand by our reporting."[2]