The Amazon rainforest is located in the Amazon basin of South America, spanning across Brazil, Peru, Colombia, and other surrounding countries.