The problem of ‘divine hiddenness’ arises from the lack of an explanation for why an all-loving God would choose not to make his existence evident. I argue that Kant provides a compelling solution to this problem in an often overlooked passage located near the end of the second Critique. Kant’s suggestion is that God’s revealing himself would preclude the development of virtue because we would lose the experience of conflict between self-interest and the moral law. I provide a reconstruction and defence of Kant’s argument, and I explain why it is consistent with his overall position in the second Critique.