Controlling the three-dimensional (3D) nanoarchitecture of inorganic materials is imperative for enabling their novel mechanical, optical, and electronic properties. Here, by exploiting DNA-programmable assembly, we establish a general approach for realizing designed 3D ordered inorganic frameworks. Through inorganic templating of DNA frameworks by liquid- and vapor-phase infiltrations, we demonstrate successful nanofabrication of diverse classes of inorganic frameworks from metal, metal oxide and semiconductor materials, as well as their combinations, including zinc, aluminum, copper, molybdenum, tungsten, indium, tin, and platinum, and composites such as aluminum-doped zinc oxide, indium tin oxide, and platinum/aluminum-doped zinc oxide. The open 3D frameworks have features on the order of nanometers with architecture prescribed by the DNA frames and self-assembled lattice. Structural and spectroscopic studies reveal the composition and organization of diverse inorganic frameworks, as well as the optoelectronic properties of selected materials. The work paves the road toward establishing a 3D nanoscale lithography.