Kirsten Mickelwait had to wait until her ex- husband was dead to feel comfortable writing “The Ghost Marriage,” her memoir about surviving their catastrophic, 22-year marriage.

Writing a memoir can be grueling enough, as an author excavates painful memories and exposes secrets, character flaws or regrettable choices. It’s another thing when those secrets belong to the other people involved in your story. Writing about other people goes with memoir territory, but for authors, it can raise a host of concerns that range from relationship betrayal to potential lawsuits.

Stephanie Foo, a former producer for the “This American Life” podcast, said one benefit of being estranged from her parents is that she didn’t have to fear their reactions when she wrote about their abuse and abandonment in “What My Bones Knew,” her chronicle about learning to heal from complex PTSD.

Estrangement was an issue, too, writer Julia Scheeres, who portrayed her parents’ cruel form of Christian fundamentalism in her 2005 memoir, “Jesus Land.” “I haven’t spoken to them since it was published, and they refuse to read it,” she said, adding that they cut her out of their will.

Those are extreme situations, of course. But it’s a rare memoirist who hasn’t grappled with how to depict family, friends, children or others they care about. It’s a familiar issue for Brooke Warner, the publisher of She Writes Press and a memoir- writing coach, who is writing a book that includes her relationship with her ex-wife, with whom she’s raising a child.

“It’s scary,” Warner says. “You’re just like, what am I going to put out there? What are they going to think is OK? What is their story versus your story?”

With the growing popularity of memoir as a genre of literature and popular entertainment, debates have followed about what writers can or should disclose about former partners, family or friends, especially when those individuals are not public figures and may not appreciate being mentioned in a bestseller. Some writers feel especially protective of children. Memoirists can change names and identifying details. But people may still come forward, Warner says, to say that scenes involving them are exaggerated, wrong or nothing like they remember.

Cries about invading other people’s privacy followed Prince Harry’s “Spare,” a ghost-written memoir that offered an insider’s critique of his royal relatives. Harry was writing about very public people, but the New York Times review described his “punishing invasions,” while CNN anchor Don Lemon reacted with visible discomfort over Harry’s claim that Prince William pushed him to the floor during a fight.

Many acclaimed memoirs involve writers putting things out there and creating compelling narratives around people who have done them wrong. When it comes to turning a loved one into an antagonist, writer Anne Lamott offers this dictum: “You own everything that happened to you. ... If people wanted you to write warmly about them, they should have behaved better.”

The idea that writers own their experiences is core to the memoir ethos. Memoirs are not autobiographies. They represent one person’s subjective, “emotional truth” — about what they’ve lived through and “what they know” about others, Warner explains. Memoirs re- create scenes and dialogue, fill in memory gaps and interpret what happened.

Journalist Meredith May, author of “The Honey Bus,” said writers should have a “greater good” in mind if they are going to reveal the “ugliness” of other people.

May’s book recounts growing up in California’s Carmel Valley in the 1970s with a loving beekeeper grandfather who provided emotional ballast after her troubled mother checked out mentally. In initial drafts, May poured out her complaints about her mother, who died in 2017, but realized another “monster mom” memoir probably wouldn’t be interesting, so she shifted focus to her empowering relationship with her grandfather.

“There’s a difference between telling your story and then taking pot shots,” May said. “It has to be in the service to the story, and you have to make those judgment calls carefully, because you have all the power as a writer.”

When teaching memoir writing, Warner urges students to just write their first drafts without worrying about others’ reactions or “getting things right.” Other writers agree, saying that first drafts almost never get published and subsequent drafts allow them to refine their portraits of others, change names or purge them entirely.

But writers still describe their concern about getting things “as factually accurate” as possible. In “What My Bones Know,” Foo says that she had to “fact check” her abuse, in part because her trauma left her questioning the reliability of her memory. She knew she couldn’t ask her parents, who long denied inflicting violence, but said she interviewed scientists and psychologists to better understand complex PTSD and interviewed former classmates, teachers and mental health experts to investigate the effects of trauma in Asian immigrant communities. When writing about an entire community, Foo “was really terrified about getting it wrong. ... That’s why it was important to do my due diligence and to ground it all in my personal experiences.”

But there’s no hard rule on seeking input from people one writes about. Depending on the situation, writers can derail their process if they share their work with loved ones who are prone to contradicting their memories. They also can put themselves in jeopardy, if they try to engage their abuser, Warner says. But in less fraught situations, writers can allay others’ concerns by showing them portions of a final draft.

May found it helpful to interview people from her past, with friends remembering “wonderful” details that enriched scenes in her story. She also sought input from her father but was nervous about what he would think. She wrote about him not being a regular presence during her childhood because he lived on the East Coast. But she said he was surprisingly OK with everything — except one detail. He told her he didn’t have a particular cat at the time of one of her summer visits. But when May offered to take the cat out, he said, “No, leave it in. It’s kind of funny.”