The electrical transport characteristics of multiwallCNx/carbon nanotube intramolecular junctions were studied. The junctions could be used asdiodes. We found that the rectification resulted from p–n junctions, not frommetal–semiconductor junctions. The gate effect was very weak when the diodeswere reverse biased. At forward bias, however, some of the p–n diodes could ben-type transistors. Experimental results supported the opinion that the gatevoltage dependent property is derived from the Schottky barrier between theCNx part and the electrode. Using p–n diodes, a bipolar transistor with nanoscale componentswas built, whose behavior was very similar to that of a conventional planar bipolartransistor.