The resets, including a dozen this month, interfere with the rover's activities, even though recovery from each incident is completed within a day or two, scientists said.
Flash memory retains data even when power is off. It is the type used for storing photos and songs on smart phones or digital cameras, among many other uses.
Individual cells within a flash memory sector can wear out from repeated use. Reformatting clears the memory while identifying bad cells and flagging them to be avoided.
"Worn-out cells in the flash memory are the leading suspect in causing these resets," said John Callas of NASA's Jet Propulsion Laboratory, Pasadena, California, project manager for NASA's Mars Exploration Rover Project.
"The flash reformatting is a low-risk process, as critical sequences and flight software are stored elsewhere in other non-volatile memory on the rover," he said.
NASA's Mars Exploration Rover Project landed twin rovers Spirit and Opportunity on Mars in early 2004 to begin missions planned to last only three months.
Spirit worked for six years, and Opportunity is still active.
The project reformatted the flash memory on Spirit five years ago to stop a series of amnesia events Spirit had been experiencing.
The reformatting planned for early next month will be the first for Opportunity.
Even after the rover has been active for more than a decade and is currently about 200 million kilometres from JPL, the team can still perform this type of upkeep, scientists said.
Preparations include downloading to Earth all useful data remaining in the flash memory and switching the rover to an operating mode that does not use flash memory.
Also, the team is restructuring the rover's communication sessions to use a slower data rate, which may add resilience in case of a reset during these preparations.