Ultrasound imaging and therapy with the same array of capacitive micromachined ultrasonic transducers is provided. The electronics includes a per-pixel switch for each transducer element. The switches provide an imaging mode driven completely by on-chip electronics and a therapy mode where off-chip pulsers provide relatively high voltages to the transducer elements.