The synthesis, structure, and electrical performances of titanium dioxide (TiO2 and also doped TiO2) thin films, a capacitor dielectric for dynamic random access memory (DRAM) and a resistance switching material in resistance switching RAM (ReRAM), are reviewed. The three-dimensionality of these structures and the extremely small feature sizes (<20 nm) of these memory devices require the synthesis method of TiO2-based layers to exhibit high degree of conformality. Atomic layer deposition is, therefore, the method of choice in respect of film growth for these applications. The unique arrangement of the TiO6-octahedra in the rutile structure, which results in the value for dielectric constant of the dielectric layer, εr (>100), makes the material especially attractive as the capacitor dielectric layer in DRAM. Removing some of the oxygen ions from the rutile structure and arranging the resulting oxygen vacancies on a specific crystallographic plane results in the so called Magnéli phase materials, which show distinctive conducting semiconductor or metallic characteristics. External electrical stimuli can cause the repeated formation and rupture of conducting channels that consist of these Magnéli phase materials in the insulating TiO2 matrix, and this aspect makes the material a very feasible choice for applications in ReRAM. This article reviews the material properties, fabrication process, integration issues, and prospect of TiO2 films for these applications.