An optical communication device includes a top cover, a bottom cover, a circuit board and an electrostatic discharge element. The bottom cover is disposed opposite to the top cover, and an accommodating space is formed between the top and bottom covers. The circuit board is disposed in the accommodating space. The electrostatic discharge element is disposed on the circuit board and electrically connected to the circuit board.