A header gradient refers to a visual effect in web design where the background color of a webpage's header changes from one color to another, creating a smooth transition. This design technique is used to add visual interest and depth to web pages, often used in combination with other UI elements.