Richard Dreyfuss has been publicly accused of sexual harassment — making him the latest Hollywood heavyweight to be hit with allegations in recent weeks.

The Oscar-winning actor was named in a Vulture piece on Friday evening, just days after his son came forward and said that he was “fondled” by Kevin Spacey, while Dreyfuss was in the same room.

An LA-based writer is now claiming that the “Jaws” star is a creep, as well — and that he repeatedly harassed her for years when she was in her mid-20s and he was married with his first child.

The two of them reportedly met in the early ’80s and then worked together on a TV special called, “Funny, You Don’t Look 200: A Constitutional Vaudeville,” which Dreyfuss originally created to celebrate the country’s Bicentennial.

The woman told Vulture that Dreyfuss said inappropriate things and made sexual advances towards her constantly — and exposed himself on at least one occasion.

“I remember walking up the steps into the trailer and turning towards my left,” Teich said. “He was at the back of the trailer, and just — his penis was out, and he sort of tried to draw me close to it.”

While Dreyfuss, 70, didn’t ask Teich to do anything further, she recalled him being unabashedly aroused.

“He was hard. I remember my face being brought close to his penis,” she said. “I can’t remember how my face got close to his penis, but I do remember that the idea was that I was going to give him a blow job. I didn’t, and I left.”

Teich had been working as a researcher and junior writer on “200,” while Dreyfuss was reportedly hosting and producing.

“It was like an out-of-body experience,” she said of seeing Dreyfuss’ penis. “I just tried to swiftly get out of the room. I pretended it hadn’t really happened. I kept moving because it was part of my job, and I knew he was, at the time, a very important guy, and certainly important to me. I trusted him. That’s what’s always so weird. I liked him. That’s part of why it’s so painful, because of the level of innocence one brings to these things. I felt responsible, that I must have indicated in some way that I was available for this.”

Teich told Vulture that she felt compelled to come forward after seeing the actor’s response to his son’s interview with BuzzFeed News last week, in which he accused Spacey of groping him. Dreyfuss was praised by social media users after he tweeted, “I love my son @harrydreyfuss more than I could explain with all the words in the world. And I am so incredibly proud of him right now.”

The post didn’t sit well with Teich, though.

“When I read about his support for his son, which I would never question, I remember thinking, But wait a minute, this guy harassed me for months,” she said. “He was in a position of so much power over me, and I didn’t feel I could tell anyone about it. It just seemed so hypocritical.”

In response to Teich’s allegations, Dreyfuss sent a statement to Vulture, saying he had made mistakes in the past, but had never “exposed” himself. He also claimed that he was in no way an “assaulter.”

“I value and respect women, and I value and respect honesty,” Dreyfuss said. “I emphatically deny ever ‘exposing’ myself to Jessica Teich, whom I have considered a friend for 30 years. I did flirt with her, and I remember trying to kiss Jessica as part of what I thought was a consensual seduction ritual that went on and on for many years. I am horrified and bewildered to discover that it wasn’t consensual. I didn’t get it. It makes me reassess every relationship I have ever thought was playful and mutual.”

Dreyfuss — who won an Oscar in 1978 for his portrayal of Elliot Garfield in “The Goodbye Girl” and was nominated for “Mr. Holland’s Opus” — went on to explain why he believed he acted the way he did, saying it had to do with his rising fame as an actor.

“I became an a–hole — the kind of performative masculine man my father had modeled for me to be,” the actor said. “I lived by the motto, ‘If you don’t flirt, you die.’ And flirt I did. I flirted with all women, be they actresses, producers, or 80-year-old grandmothers. I even flirted with those who were out of bounds, like the wives of some of my best friends, which especially revolts me.

“I disrespected myself, and I disrespected them, and ignored my own ethics, which I regret more deeply than I can express,” Dreyfuss added. “During those years I was swept up in a world of celebrity and drugs — which are not excuses, just truths. Since then I have had to redefine what it means to be a man, and an ethical man. I think every man on Earth has or will have to grapple with this question. But I am not an assaulter.”

Teich was dumbfounded upon hearing Dreyfuss’ statement, according to Vulture.

“Wow, I don’t quite know what to make of that,” she said. “I respect that he’s trying to grapple with it, and I regret that he’s not being totally honest. Sadly, what I regret even more is I’ll never forget the sight of his penis because I was so surprised to see it there. The fact that he can’t quite acknowledge all of it is understandable. But he certainly acknowledges that something happened, and he certainly acknowledges that it might have been inappropriate now that he looks back on it.”

In his statement, Dreyfuss also touched upon the wave of sex abuse allegations that Hollywood has seen lately — with some of the movie industry’s biggest names getting accused in recent weeks, including Spacey, Harvey Weinstein and Brett Ratner.

“There is a sea-change happening right now, which we can look upon as a problem or an opportunity,” he said. “We all of us are awakening to the reality that how men have behaved toward women for eons is not OK. The rules are changing invisibly underneath our feet. I am playing catch up. Maybe we all are.”

Dreyfuss added, “I hope people can join me in honestly looking at our behavior and trying to make it right. We have to relearn every rule we thought we knew about how men and women interact, because after all getting together is the most fundamental human compulsion. And if we don’t succeed in that, what do we have? I hope this is the beginning of a larger conversation we can have as a culture.”

Teich told Vulture she doesn’t plan to sue Dreyfuss or confront him in the future. All she wants is for the actor to be honest.

“‘Flirt’ is absolutely not the right word,” she explained. “It suggests something mutual, and that was not the case.”

Teich was especially shocked by Dreyfuss’ assertion that the two of them were longtime friends.

“The suggestion is that if I were a true colleague I never would’ve been public about this, that it should’ve all been kept among friends,” she said.

“I’m not that guy’s friend. I haven’t seen that guy or spoken to him in 25 years. But as a person, I respond to the sense of hurt that underlies his words, and something in me feels compassion for him, even though he made my life hell. And that’s part of the complexity of the whole thing, I think.”