A headlamp device of a vehicle is configured as follows: A headlamp housing 30 is provided with a shock-absorbing portion 33 which protrudes from the rear wall of the headlamp housing 30 toward the rear of the vehicle, and whose longitudinal section is formed in a U-shape which opens toward the front of the vehicle. The shock-absorbing portion 33 is provided with a lamp mounting foot which protrudes from a posterior wall 33c of the shock-absorbing portion 33 toward the rear of the vehicle, and which has a leading end attached to a vehicle body 2.