Walled-off pancreatic necrosis occurs as a late complication of acute pancreatitis and can occur in chronic pancreatitis. It is not to be confused with pseudocyst, which occurs later than 4 weeks following pancreatitis and is more uniformly round with enhancing margins.