We construct categories of Harish-Chandra bimodules for affine Lie algebras analogous to Harish-Chandra bimodules with infinitesimal characters for simple Lie algebras, addressing an old problem raised by I. Frenkel and Malikov. Under an integrality hypothesis, we establish monoidal equivalences between blocks of our affine Harish-Chandra bimodules and versions of the affine Hecke category. To do so, we introduce a new singular localization onto Whittaker flag manifolds. The argument for the latter specializes to a somewhat alternative treatment of regular localization, and identifies the category of Lie algebra representations with a generalized infinitesimal character as the parabolic induction, in the sense of categorical representation theory, of a Steinberg module. Contents 1. Introduction 1 2. Preliminaries and notation 8 3. Hecke algebras and invariant vectors 15 4. A category of Lie algebra representations 20 5. Localization I: The sign representation and the Steinberg module 22 6. parabolic induction for groups and Hecke categories 26 7. Localization II: the parabolic induction of the Steinberg module and Lie algebra representations 28 8. The linkage principle for positive energy representations 32 9. Some applications 38 10. Affine Harish-Chandra bimodules 40 References 43