A heat dissipation device includes a first heat sink and a second heat sink connected to each other. Each of the first and second heat sinks includes a base and a plurality of fins extending from the base. The base of the first heat sink forms a rib on a lateral face thereof, and the base of the second heat sink defines a groove in a lateral face thereof. The rib is received in the groove to connect the first heat sink with the second heat sink.