Legendary U.S. Olympian Michael Phelps has issued an important warning to anyone with a home pool.

Phelps, arguably the greatest Olympian of all-time, won 28 medals during his iconic career, including a record-setting 23 gold medals. But while Phelps had a ton of success in the pool, he's warning anyone with a home pool, that safety needs to be paramount.

While pools can provide for beautiful backyard settings, safety needs to take precedence over everything else. Phelps is warning all Americans that everyone should have a fence around their pool. While that might not be the most flattering landscape, it's incredibly important.

TOPSHOT - USA's Michael Phelps kisses his gold medal on the podium after Team USA won the Men's 4x200m Freestyle Relay Final during the swimming event at the Rio 2016 Olympic Games at the Olympic Aquatics Stadium in Rio de Janeiro on August 9, 2016. / AFP / GABRIEL BOUYS (Photo credit should read GABRIEL BOUYS/AFP via Getty Images)

Phelps, speaking to A Safe Pool, said that having a safe fence around their family pool makes his family feel comfortable. He wants everyone who has a pool in their backyard to have a fence, too.

"We can just be ourselves (in the backyard)," the father of several young boys explained.

"We know that everyone's going to be safe and everyone's going to be able to have fun."

View this post on Instagram

Drowning is one of the leading causes of deaths for young children. But it can be preventable for anyone with a pool in their backyard, if safety is made a priority.

Home pool safety rules

The American Red Cross offers the following home pool safety rules:

Stay safe if you have a home pool. Michael Phelps is demanding it.