The resonance interaction that takes place in planar nanochannels between pairs of excited state atoms is explored. We consider interactions in channels of silica, zinc oxide and gold. The nanosized channels induce a dramatically different interaction from that in free space. Illustrative calculations for two lithium and cesium atoms, demonstrate that there is a short range repulsion followed by long range attraction. The binding energy is strongest near the surfaces. The size of the enlarged molecule is biggest at the center of the cavity and increases with channel width. Since the interaction is generic, we predict that enlarged molecules are formed in porous structures, and that the molecule size depends on the size of the nanochannels. An inhibition to such work has been that the standard theoretical expression for the resonance interaction between excited state-ground state atoms is incorrect [4][5][6][7].In this work we demonstrate how resonance interactions between excited atoms are strongly modified at nanoscale dimensions when the atoms interact inside planar channels. We show that the containment effects on the interaction can lead to the formation of peculiar enlarged molecules. As compared to our previous work [5] the present contains a deeper analysis of the phenomenon. This includes an account for the origin of the short-range repulsive and long-range attractive interaction via spectral plots of interactions from different excitation branches and detailed studies of the effects due to different locations of the atomic species and different cavity sizes. The binding energy is strongest near the surfaces. The size of the enlarged molecule is biggest in the center of the cavity. We use lithium and cesium * mabos@ifm.liu.se † bos@ifm.liu.se atoms and channels in silica, zinc oxide and gold as examples. We first briefly rehearse the (correct) theory of the resonance interaction energy in channels and in free space. With that established we present some illustrative results. We compare the very different interactions of atoms in free space and in nanochannels. We have shown previously [4,5] that, due to too drastic approximations, the underlying theory of resonance interactions derived from perturbative quantum electrodynamics (QED) is only correct in the non-retarded limit. To see this we recall the standard argument: Consider two identical atoms where one initially is in its ground state and the other is in an excited state. This state can also be represented by a superposition of states: one symmetric and one antisymmetric with respect to interchange of the atoms. While the symmetric state is likely to decay into two ground-state atoms, the antisymmetric state can be quite long-lived. The system can thus be trapped in the antisymmetric state [4,8]. The energy migrates back and forth between the two atoms until either the two atoms move apart or a photon is emitted away from the system. First order dispersion interactions are caused by this coupling of the system, i.e. the energy difference between the...