This will be a step in a different direction from what was expected by the five-time Olympic gold medalist, who has expressed interest in doing reality TV such as 'Dancing with the Stars', reported People magazine.
"When we found out Ryan Lochte was going to be in town and might appear on 90210, we felt like we'd won a gold medal.
"Team USA are all-stars in our book, and we're so excited he's making an appearance on the show," the show's executive producers Patti Carr and Lara Olsen said in a joint statement.
Lochte, 28, will not be featured in his usual environment