This chapter details methods to express and modify ATP-gated P2X receptor channels so that they can be controlled using light. Following expression in cells, a photoswitchable tool compound can be used to covalently modify mutant P2X receptors, as previously demonstrated for homomeric P2X2 and P2X3 receptors, and heteromeric P2X2/3 receptors. Engineered P2X receptors can be rapidly and reversibly opened and closed by different wavelengths of light. Light-activated P2X receptors can be mutated further to impart ATP-insensitivity if required. This method offers control of specific P2X receptor channels with high spatiotemporal precision to study their roles in physiology and pathophysiology