Meghan McCain is opening up what she has learned from having a miscarriage.

The co-host of “The View” revealed the news that she lost her baby in an opinion piece for The New York Times on Friday.

“A few weeks ago, I was part of the photoshoot for The New York Times Magazine’s cover story about ABC’s ‘The View’. It should have been a moment of triumph,” she writes. “I look back at those pictures now, and I see a woman hiding her shock and sorrow. I am posed for the camera, looking stern and strong, representing my fellow conservative women across the country. But inside, I am dying. Inside, my baby is dying.”

RELATED: Meghan McCain ‘Does Not’ Feel Sorry For Kourtney Kardashian After She Got Emotional About Turning 40

McCain said she knew she was miscarrying before the official confirmation. The doctor confirmed the news on the same day of the photoshoot.

The TV personality adds, “I missed a few days of work. It wasn’t many, but given the job I have, it was enough to spark gossip about why I would be away from ‘The View’. This was not supposed to be public knowledge. I have had my share of public grief and public joy. I wish this grief — the grief of a little life begun and then lost — could remain private.”

“My miscarriage was a horrendous experience and I would not wish it upon anyone,” McCain says.

The television host is now using this opportunity that should have been private as a chance to raise awareness of miscarriages, noting that around three million pregnancies end in miscarriages a year in North America. “That is all the more reason women need to be able to speak about this publicly, without the stigma and the lack of knowledge that pervades the issue,” she writes. “Even to this day, the subject of a miscarriage carries so much cultural taboo.”

RELATED: Report: Meghan McCain Planning To Exit ‘The View’, Allegedly Feels Like A ‘Caged Animal,’ The Show Responds

“What we have lost is real… they were conceived, and they lived, fully human and fully ours — and then they died. We deserve the opportunity to speak openly of them, to share what they were and to mourn,” McCain says, as she further describes the blame she placed on herself for the miscarriage before coming to the conclusion that “it is not my fault.”

“I had a miscarriage. I loved my baby, and I always will. To the end of my days I will remember this child — and whatever children come will not obscure that. I have love for my child. I have love for all the women who, like me, were briefly in the sisterhood of motherhood, hoping, praying and nursing joy within us, until the day the joy was over,” she says before ending her article with “you are not alone.”