Under the title "happy personal news", Mayer said she was expecting twin girls in December 2015.
She wrote: "With great happiness, Zack and I have some exciting news to share – I’m pregnant! In fact, I’m expecting identical twin girls, likely arriving in December.
"The twins part was quite a surprise, because I have no family history of twins or any other predisposing factors. However, as I’ve now learned, identical twins occur by random chance in roughly 1 out of approximately every 300 pregnancies. Zack and I have embraced the surprise and are very excited about these new additions to our family."
However Mayer - who controversially scrapped working from home when she started as boss of Yahoo - won't be taking much time off.
"Since my pregnancy has been healthy and uncomplicated and since this is a unique time in Yahoo’s transformation, I plan to approach the pregnancy and delivery as I did with my son three years ago, taking limited time away and working throughout.
"I’ve shared the news and my plans with Yahoo’s Board of Directors and my executive team, and they are incredibly supportive and happy for me. I want to thank them for all of their encouragement as well as their offers of help and continued support."
Mayer already has a son Macallister, nearly three.
The blog finishes with a comment from Yahoo staff, which reads: "We are extremely happy for her and supportive of her plans and approach."
Mayer's first pregnancy was announced on her first day at Yahoo in July 2012. What are your thoughts around the time she's taking off around her pregnancy? Any advice from mums with twins?
"We always put our twin girls down to sleep in the same bed, but about a foot apart. Every time, they would manage to wind to touching one another. It was like magic because they were able to do this just days after coming home from the hospital. Here they are about a week old." (credit:Leah Furst Alani)
(32 of44)
Open Image Modal
(credit:Andrea McComb)
(33 of44)
Open Image Modal
(credit:Erin 'Laybourne' Sandvick)
(34 of44)
Open Image Modal
"Side by side always. Watching the bond that my twins have is beautiful." (credit:Marissa Smith Haddad)
(35 of44)
Open Image Modal
(credit:Amanda Elizabeth)
(36 of44)
Open Image Modal
(credit:Kelly Coronado)
(37 of44)
Open Image Modal
(credit:Carrie Freshner Houk)
(38 of44)
Open Image Modal
(credit:Dorothy Matheson Dalton)
(39 of44)
Open Image Modal
(credit:Nicole Tarver Ruffo)
(40 of44)
Open Image Modal
(credit:Jessica Lindvall Powell)
(41 of44)
Open Image Modal
"Always getting into things together!!" (credit:Heather W. Reymunde)
(42 of44)
Open Image Modal
"This is twin love two times over ... trying to get my two sets of twin boys to pose for a picture at the petting zoo." (credit:Athena Parliaros Barnjak)