It happened around 1:45am on Bay Area Boulevard near Seawolf Drive in Clear Lake.
Police say the two were outside the deputy's truck, when a driver hit them. Both men were transported to the hospital. Their names have not been released.
Investigators say a second car plowed through barriers while police were investigating the first accident. Both drivers are being tested for possible intoxication.