Compartment syndrome is an increase in pressure inside a muscle, which restricts blood flow and causes pain. If it happens suddenly, it can be serious and need treatment as soon as possible.