NEW YORK >> Betty Gilpin is not one to complain.

She spent seven months in New Mexico making “American Primeval,” a gory western set in the treacherous Utah Territory in 1857. She filmed in the elements, often at night, with the most volatile co-stars of all: horses. The long shoot was nearing completion when Hollywood went on strike in mid-2023, shutting down “American Primeval” for months. By the time the production resumed in early 2024, Gilpin was six months pregnant with her second child and no longer in a condition to mount a horse. So producers got her a robotic steed.

“It wasn’t the most easy,” is all she’ll grant. But by any reasonable measure, making “American Primeval” was an ordeal. Thankfully, Gilpin had her husband, Cosmo Pfeil, and their daughter, Mary, now 4, with her on location.

“That was my grand equalizer,” she says. “I would spend my days screaming bloody murder in a petticoat on a horse, then get home and hunch over in a candy cane position and do bath and bedtime. Being a mom in an Airbnb is way harder than filming on top of a ski mountain in below zero degrees.”

On a rainy morning in December, Gilpin has just arrived at a cafe in New York City’s Clinton Hill neighborhood. In a beet red sweater adorned with a diagram of the uterus, she has already squeezed in a session at the gym and tended to her daughters, including the youngest, now 7 months old.

Motherhood, she says, “gives you permanent access, whether you want it or not, to a darker, more rooted self.”

That served her well in “American Primeval,” in which she plays Sara Rowell, a woman with a mysterious past trying to start a new life on the frontier with her son, Devin (Preston Mota). With bounty hunters hot on her trail, Sara hires a taciturn stranger named Isaac (Taylor Kitsch) to guide them to safety, which proves elusive in a region where the Army, Native Americans, Mormon militiamen and other settlers are locked in a battle for control.

From writer-creator Mark L. Smith (“The Revenant”), director Peter Berg (“Lone Survivor”) and executive producer Eric Newman (“Narcos”), “American Primeval” offers an unrelentingly violent take on the history of westward expansion, one that is likely to stoke controversy, particularly in its portrayal of the early Church of Jesus Christ of Latter-day Saints.

Later this month, Gilpin will make her Broadway debut as Mary Todd Lincoln in “Oh, Mary!,” taking over for Cole Escola in the bawdy hit that reimagines the doleful first lady as a batty aspiring cabaret star. In a strange coincidence of casting, she recently finished shooting the Netflix drama “Death by Lightning,” in which she portrays Lucretia Garfield, the wife of another doomed 19th-century president.

But there’s more to Gilpin — much, much more — than bonnets and hoopskirts.

Since her breakthrough role as a soap star-turned-professional wrestler in the dearly departed Netflix series “GLOW,” Gilpin has displayed a remarkable range, not only from role to role but also within individual performances. (Not to be confined to one art form, she also published “All the Women in My Brain and Other Concerns,” a collection of essays, in 2022.) She moves among genres and time periods with ease and she gravitates to layered roles that showcase her versatility: In the inventive sci-fi comedy “Mrs. Davis,” she plays a time-traveling nun fighting a sentient form of artificial intelligence. In the recent “Three Women,” based on Lisa Taddeo’s book of the same name, she portrays Lina, a neglected Indiana housewife struggling with chronic pain and unmet desire.

Gilpin is a quick-witted (and highly quotable) woman for whom acting was “always sort of destined.” Her parents, Jack Gilpin and Ann McDonough, though not household names, have worked steadily in film, TV and theater for decades. (Her dad plays Church the Butler on HBO’s “The Gilded Age.”)

Raised in New York and Connecticut, she attended Fordham University, where she studied acting with a Jesuit priest, Father George Drance, who encouraged her to use visual metaphors. “It just took me out of my own head, and made it a magic process, rather than a math equation: ‘Is this right or wrong?’” she says. “Thinking about it in an abstract way helps me shimmy my feathers for the coins.”

She then spent roughly a decade working off-Broadway and cycling through small roles in indie movies and TV procedurals.

A guest stint on “Nurse Jackie,” where she befriended writers Liz Flahive and Carly Mensch, led to “GLOW.” Her performance in the nostalgic ’80s dramedy was notable for its intense physicality — she body-slammed like a pro — and the way Gilpin’s character Debbie Eagan channeled her personal anguish into her wrestling persona, an all-American bombshell known as Liberty Belle. The part earned Gilpin three Emmy nominations.

Production on Season 4 of “GLOW” was underway when the onset of COVID-19 shut it down in March 2020; Netflix abruptly canceled the show later that year.

While some roles can feel fleeting or elusive, with Lina, the unhappy housewife who embarks on a passionate affair with her high school boyfriend in “Three Women,” there was “an eerie clarity” the whole time, Gilpin says. “It’s probably the most connected I’ve ever been to a character.”

Castmate Shailene Woodley, who plays author Gia in “Three Women,” credits Gilpin with giving her character Lina “colors and layers that other people would miss.”

She brings similarly unexpected colors to Sara in “American Primeval,” whom she likens to “a Brontë character who is suddenly forced to play death-rugby in Hades.”

“As wild as this series is, I did recognize a lot of the things that Sara struggled with as a mom, especially having my first daughter in 2020. I had a lot of catastrophic thinking and was very afraid all the time,” she says.

Series director Peter Berg, who often encourages improvisation on set, says Gilpin found ways to bring much-needed humor and sweetness to the grim material.

“She would look at me every once in a while and say, ‘You know, it’s not going to kill any of us to laugh a little bit with this show. It can’t be all scalpings, shootings, bear attacks and drownings. We should be able to find some moments to laugh and to feel love,’” Berg recalls. “She found both of those.”

For now, Gilpin is focused on donning Lincoln’s bratty curls and putting her mark on the role that has made Escola the toast of Broadway.

“Oh, Mary!” captures the fact that “we are all overlooked, unique geniuses and delusional mediocre idiots at the same time,” Gilpin says. “I will probably be both in the show.”