Abstract: The present disclosure relates to the field of communication technology, and provides a connector for photoelectric hybrid in free space of magnetic absorption comprising matching a male connector and a female connector and provided with a conductive pin and an electrical contact used for conduction, an optical communication module for optical communication and comprising optical fiber connector and lens capable of expanding the light beam output to each other, a spacing formed between the two lenses, and the male connector and the female connector aligned and remained in a plug-in state through a magnetic field. Furthermore, a guiding structure is provided to embody precise alignment of the lens of the male connector and the lens of the female connector. The connector can transmit both optical signals and electrical signals, and has the characteristics of high processing yield, high reliability, and convenient use.