His hair grew 36 inches - 6 inches = <<36-6=30>>30 inches
Hair grows at a rate of 12 months/year * 0.5 inches/month =<<12*0.5=6>>6 inches/year
It took him 30 inches / 6 inches/year = <<30/6=5>>5 years to grow his hair out.
#### 5