You define a reducer in Redux by defining a function that takes the current state and an action as arguments and returns a new state object. This function should be pure and deterministic, meaning it should not have side effects or rely on external factors.