Hingis, a 35-year-old five-time Grand Slam singles champion from the late 1990s, will play with Timea Bacsinszky in Rio.
Hingis lost her original Olympic doubles and mixed doubles partners in a two-day span last week, when Belinda Bencic and Roger Federer both withdrew due to injuries.
Hingis is ruled out of mixed doubles since the only other Swiss male player, Stan Wawrinka, wants to concentrate on singles.
Hingis will not play singles in Rio, as she is now a doubles specialist on the WTA Tour, ranking No. 1 in the world.