Dielectrophoresis can potentially be used as an efficient trapping tool in the fabrication of molecular devices. For nanoscale objects, however, the Brownian motion poses a challenge. We show that the use of carbon nanotube electrodes makes it possible to apply relatively low trapping voltages and still achieve high enough field gradients for trapping nanoscale objects, e.g., single molecules. We compare the efficiency and other characteristics of dielectrophoresis between carbon nanotube electrodes and lithographically fabricated metallic electrodes, in the case of trapping nanoscale DNA molecules. The results are analyzed using finite element method simulations and reveal information about the frequency dependent polarizability of DNA.