Miami-Dade Fire Rescue officials say the men were outdoors Monday afternoon when a major storm passed through the area.
Authorities say the men tried to hide underneath a tractor-trailer truck but it was struck by lightning.
According to authorities, the energy passed through the trailer and into the men.
The two injured men were taken by ambulance to a trauma center for treatment. Their condition was not immediately known.