Heidi Aragon, who posts under the name @Fit_With_Heidi, shared footage of the interaction on TikTok, which she captioned: "Don’t sit there and tell me you’re not doing something when I have proof."
In the video, Heidi is attempting to do some squats, but the man is clearly seen in the background staring at her.
"This creepy old guy at the gym kept coming over and staring at me," she wrote. "So I told my husband and he came over and worked out next to me. Even after he came over he CONTINUED to stare."
Despite her husband being there, viewers can see the man continuing to stare.
"I decided to stop working out and stare back," she wrote, with video showing her staring at the man intensely. "I thought he got the picture, I attempted to do my set. Then I got fed up and went over and addressed him."
She is then seen walking over to him, though we do not see their encounter.
"I told him if he's gonna workout in this corner he needed to stop staring and making me uncomfortable. His response was: 'I'm just looking around'.
"I then told him I record my workouts and I have him on film. He shut up real quick."
Heidi can be heard talking to the man, asking him to "stop".
The video has since been viewed over 15 million times with many viewers shocked by the man's behaviour.
"Just because she's wearing a certain type of pants doesn't given him the right to stare repeatedly," one user wrote. "It's not a hard concept."
"Why do men assume if we are in public they are allowed to stare at us like this?" another added. "We don't exist for you to fantasise about."
"This was so inappropriate of him, but the fact that you remained calm even throughout it all, shows your true character," a third said. "You're awesome."
"This happens too often to women from old guys," one man wrote. "Happens to my girl all the time. Sorry y'all gotta deal with this, but proud of you for addressing him."
Some men in the comments, however, blamed Heidi for her outfit, something other women slammed them for.
"Men saying that we should wear baggy clothes to the gym so theeeey don't feel the urge to look," one angry user wrote.
"She literally is wearing normal workout gear for women," another said. "There is no excuse for that man's actions. It doesn't matter what she wears."
Other women said their fear of men is one of the reasons they are scared of the gym.
Never miss a thing. Sign up to Yahoo Lifestyle’s daily newsletter.
Or if you have a story idea, email us at email@example.com.