A gap up occurs when a stock opens at a higher price than it closed at the previous day. On the flip side, a gap down happens when it opens at a lower price than its last close.