Gamma measures how fast delta changes. High gamma means your position can swing from profit to loss quickly. It is highest for at the money options near expiration.
Delta tells you how much an option moves when the stock moves 1 dollar. Gamma tells you how much delta changes. If gamma is high, a small stock move causes a big delta change.
Example: You sold a call with 0.20 delta. The stock rises 2 dollars. If gamma is low, delta might go to 0.25. If gamma is high, delta might go to 0.50. Your short call is now losing faster.
With 30 days left, an at the money option has moderate gamma. With 2 days left, gamma is extreme. A 1 dollar move can push delta from 0.30 to 0.70 or higher.
This is why short options near expiration are dangerous. A stock that was safely out of the money can blow through your strike in one move. The loss accelerates.
Option sellers face negative gamma. When the stock moves against you, losses accelerate. When it moves in your favor, gains slow down.
Option buyers have positive gamma. When the stock moves in your favor, gains accelerate. The tradeoff is you pay theta every day.
Close before expiration. Many traders close short options at 21 days to avoid the gamma spike. The last week is where gamma risk is highest.
Use wider strikes. A short option 10% out of the money has less gamma than one 2% out. You collect less premium but sleep better.
Size smaller near expiration. If you hold into the final days, reduce position size. The moves are bigger.
Iron condors have negative gamma on both sides. If the stock moves toward either short strike near expiration, losses can grow fast. This is why many traders close condors early or roll them out.