A recession — or multiple recessions — can occur during a prolonged period of stagflation, but they are not the same thing. A recession, which is also considered to be relatively rare, occurs when an economy experiences a significant decline that lasts for more than a few months, according to the National Bureau of Economic Research (NBER).