A 3D device, including: a first layer including a first memory including a first transistor; a second layer including a second memory including a second transistor; and a Resistive RAM structure, where the second transistor is self-aligned to the first transistor, and where the Resistive RAM structure is overlaying the first layer and is overlaid by the second layer.