TiO2 thin films are highly stable and can be deposited onto a wide variety of substrate materials under moderate conditions. We demonstrate that organic alkenes will graft to the surface of TiO2 when illuminated with UV light at 254 nm and that the resulting layers provide a starting point for the preparation of DNA-modified TiO2 thin films exhibiting excellent stability and biomolecular selectivity. By using alkenes with a protected amino group at the distal end, the grafted layers can be deprotected to yield molecular layers with exposed primary amino groups that can then be used to covalently link DNA oligonucleotides to the TiO2 surface. We demonstrate that the resulting DNA-modified surfaces exhibit excellent selectivity toward complementary versus noncomplementary target sequences in solution and that the surfaces can withstand 25 cycles of hybridization and denaturation in 8.3 M urea with little or no degradation. Furthermore, the use of simple masking methods provides a way to directly control the spatial location of the grafted layers, thereby providing a way to photopattern the spatial distribution of biologically active molecules to the TiO2 surfaces. Using Ti films ranging from 10 to 100 nm in thickness allows the preparation of TiO2 films that range from highly reflective to almost completely transparent; in both cases, the photochemical grafting of alkenes can be used as a starting point for stable surfaces with good biomolecular recognition properties.