One of the most common conditions that affects the nail is onycholysis, which is the separation of the nail plate from the nail bed. Onycholysis occurs as a result of or along with a great variety of nail traumas and disorders. Probably the most common cause of onycholysis is a fungal infection of the nail.