With prominent photocatalytic applications and widespread use in semiconductor devices, TiO2 is one of the most popular metal oxides. However, despite its popularity, it has yet to achieve its full potential due to a lack of effective methods for achieving p-type conductivity. Here, we show that undoped p-type TiO2 films can be fabricated by atomic layer deposition (ALD) and that their electrical properties can be controlled across a wide range using proper postprocessing anneals in various ambient environments. Hole mobilities larger than 400 cm(2)/(V·s) are accessible superseding the use of extrinsic doping, which generally produces orders of magnitude smaller values. Through a combination of analyses and experiments, we provide evidence that this behavior is primarily due to an excess of oxygen in the films. This discovery enables entirely new categories of TiO2 devices and applications, and unlocks the potential to improve existing ones. TiO2 homojunction diodes fabricated completely by ALD are developed as a demonstration of the utility of these techniques and shown to exhibit useful rectifying characteristics even with minimal processing refinement.