Yesterday (6 January), the actor posted a video sharing his embarrassing moment with 57.1 million of his Instagram followers.
Smith wrote that "Training with Miami Dolphins was great up until the morning coffee snuck in on me." "Wait for it..."
The clip shows the I Am Legend star on his knees stretching his body across a roller while he accidentally breaks wind.
Smith can be seen sheepishly looking around after farting to check if the moment was captured on camera.
When the entire room bursts into laughter, his question is answered. He says, "Sorry about that." "Excuse me."
Smith joked, "You guys have showers here?"
The Oscar nominee added the caption: "They said that they would relax all my muscles."
Smith's fans were in a state of shock when the clip was shown. Many commented on the post to share their reactions to the video.
Michael Bay, Transformers director, said: "We would have cut that out – young movie crews love to be authentic. It's why you are so special to me. Will you keep it real?
Another person said, "It happens, but it's more funny when it involves Will Smith."