If you listen to music with headphone for more than one hour, especially, on high pitch volume, is harmful to hearing. It should be kept in mind that hearing loss can not be recovered, so the doctors suggest that we listen to music with moderate volume. They advise us to maintain a maximum of 60 decibels while using headphone or earphone. It's also advised to remove the headphone from ears for a minimum of 5 minutes after listening for 45 to 60 minutes. If someone increases volume for more than 80-85 decibels and keeps on listening for more than an hour, gradually it will start damaging hearing power.
An ear has three parts - outer, middle and inner part. The inner part is also called the cochlea. It has hair-cells and function of hair-cells is to send sound to the brain and it makes us listen to music/sound. If music is listened on high volume, hair-cells begin to decay and gradually, over the time, these cells are completely damaged, as a result, the sound doesn't reach the brain and it causes loss of hearing.
You can notice it if hair cells are being damaged. When you keep on listening to music for hours and after taking off headphone if you listen ringing, buzzing or roaring sound it means now hair cells are being affected by listening to music. It's advised to using noise-cancelling/controlling earphones to protect your hearing.
You should also avoid those places where music is played on high pitch volumes such as in marriage function, music club or any party. Get your hearing tested by a doctor. If someone is working at such places where he continuously listens to loud music/sound he should take another job instead, as in the long run music of high pitch, volumes may cause heart disease and also can be harmful to the brain.