Toni Kristinsson was a commercial vehicle and safety enforcement officer, a type of peace officer who checks for such things as loads, licences and insurance.
The ministry says he was driving home near the end of his shift on Sunday when his vehicle collided with a commercial transport truck on Highway 5 near Valemount.
Kristinsson worked for the government branch for a little more than three years and spent most of his time at an inspection station in the Robson Valley.
The ministry says government employees are saddened by the tragedy and send their condolences to his family, friends and colleagues.
A memorial service has been scheduled for Saturday, and the ministry says the RCMP is continuing to investigate the accident.
Note to readers: This is a corrected version. An earlier version reported the accident happened just east of the B.C. and Alberta boundary.Suggest a correction