I too have this same problem. It's been happening for about 5 years. I am now 30 years old.
My dermatologist told me it was a form of Psoriasis and gave me a cream for the nail beds.
This was a year ago and nothing's changed. If anyone has ANY idea what this could be, please reply.