The Jamaican world record holder in the 100 and 200 metres will participate in the IAAF Diamond League meeting on July 22 at Queen Elizabeth Park in London.
"The London Anniversary Games will be one of my last races before the Olympic Games in Rio," Bolt said in a statement.
"It will be good to return to the Olympic Stadium on the Friday night and get more of the special atmosphere that the fans always produce," the 29-year-old sprinter added.