<p>A compact optical transceiver is provided in which a substrate provides for an alignment surface for optical fibers and a lens assembly provides the necessary optical paths for coupling to photodiode and photodetector structures. Appropriate electrical connections on the substrate enable the substrate to be directly connected to a printed circuit board, grid array socket, and the like.</p>