Kate Winslet takes on a new role in her upcoming HBO limited series, "Mare of Easttown."

The 45-year-old actress plays a police detective in a small Pennsylvania town but is sure in real life she'd be absolutely terrible at solving crimes. 

"I’d be a (expletive) lousy detective. I’d be very good at the coffee and the beers, definitely," Winslet told The Associated Press on Wednesday. "I don’t think I have the mental stamina that is required. I have stamina, but in a different way."

Winslet plays Mare Sheehan, who is investigating a murder in her small, close-knit rural town while struggling to keep her family life intact. The limited series’ cast includes Julianne Nicholson, Jean Smart, Evan Peters, and Guy Pearce.

KATE WINSLET EXPLAINS CAREER SLUMP FOLLOWING 'TITANIC'

Winslet said her character felt in many ways "a million miles away from me" in the nature of her work and its demands.

This image released by HBO shows Kate Winslet in a scene from 'Mare of Easttown,' debuting on April 18.

This image released by HBO shows Kate Winslet in a scene from 'Mare of Easttown,' debuting on April 18. (HBO via AP)

But she found an important connection with Mare in her "real sense of family and how much it means to her to hold that together at all costs, and also to be able to admit to herself from time to time that she has failed in a lot of areas and try desperately to correct those errors."

CLICK HERE TO SIGN UP FOR OUR ENTERTAINMENT NEWSLETTER

The British actor has used an impressive variety of accents in her career, including a German one for her Oscar-winning role in 2008’s "The Reader." But she found it a real challenge to match the regional Pennsylvania sound needed in "Mare of Easttown."

"It was up there among the hardest accents I’ve ever done," she told TV critics during a Q&A. "I’d say it’s up there in the top three for sure. But it adds so much to Mare’s character. I didn’t want to come up with something that was sort of generalized and make a few kind of token sounds that were a nod in the direction" of the dialect.

CLICK HERE TO GET THE FOX NEWS APP

The seven-episode "Mare of Easttown" debuts April 18 on HBO and will be on streaming service HBO Max.

The Associated Press contributed to this report.