The present invention provides an electronic device. The electronic device comprises a circuit board; and a dipole antenna, having a first conducting portion and a second conducting portion that are electrically coupled to the circuit board respectively and disposed substantially along an outline of the circuit board.