We present the fabrication of three-dimensional inlets with gradually decreasing widths and depths and with nanopillars on the slope, all defined in just one lithography step. In addition, as an application, we show how these micro- and nanostructures can be used for micro- and nanofluidics and lab-on-a-chip devices to facilitate the flow and analyze single molecules of DNA. For the fabrication of 3D inlets in a single layer process, dose-modulated electron beam lithography was used, producing depths between 750 nm and 50 nm along a 30 μm long inlet, which is additionally structured with nanometer-scale pillars randomly distributed on top, as a result of incomplete exposure and underdevelopment of the resist. The fabrication conditions affect the slope of the inlet, the nanopillar density and coverage. The key parameters are the dose used for the electron beam exposure and the development conditions, like the developer’s dilution, stirring and development time. The 3D inlets with nanostructured pillars were integrated into fluidic devices, acting as a transition between micro and nanofluidic structures for pre-stretching and unfolding DNA molecules, avoiding the intrusion of folded molecules and clogging the analysis channel. After patterning these structures in silicon, they can be replicated in polymer by UV nanoimprinting. We show here how the inlets with pillars slow down the molecules before they enter the nanochannels, resulting in a 3-fold decrease in speed, which would translate to an improvement in the resolution for DNA optical mapping.