The epicenter was located 50 kilometers (31 miles) north of the city of Moyobamba at a depth of 114 kilometers. It occurred at 1008 GMT, the monitor said.
There were no immediate reports of any damage or casualties.
According to the USGS map, the quake epicenter is located on the eastern slope of the Andes, where the mountain range meets the Amazon rainforest.