Our Services
Medical Information
Helpful Resources
Published on: 9/24/2026
A black line under a fingernail is most often a splinter hemorrhage, which is a tiny broken blood vessel under the nail caused by trauma, tight footwear, or repetitive pressure, and it usually grows out on its own. Other common causes include a subungual hematoma from a crush injury, a benign mole or pigment band called melanonychia, certain medications such as chemotherapy drugs, fungal or bacterial nail infections, and underlying conditions like psoriasis, endocarditis, or vasculitis. Less commonly, a dark band that widens, extends into the surrounding skin, or appears on a single nail without injury can signal subungual melanoma, a serious form of skin cancer that needs prompt evaluation. Color, shape, number of nails affected, and how the line changes over time all help distinguish harmless causes from urgent ones, so see below to understand which details matter most.
If you are unsure whether your nail change is a bruise, an infection, or something that warrants a doctor's visit, a free, instant, online symptom check can help you sort through your specific symptoms in just a few minutes and point you toward the right next step.
Last reviewed for medical accuracy: 09/24/2026
Noticing a black line under your fingernail can be unsettling. In many cases, it’s a harmless sign of minor injury or normal pigment variation. However, sometimes it signals an underlying health issue, including rare but serious conditions like subungual melanoma (a type of skin cancer under the nail). Understanding the possible causes, when to seek care and what to expect during evaluation can help you make informed decisions without undue worry.
Trauma or Subungual Hematoma
Melanonychia (Melanin Deposition)
Subungual Melanoma
Splinter Hemorrhages
Fungal or Bacterial Infection
Medications and Systemic Conditions
Foreign Bodies
While many causes of a black line under fingernail are harmless, certain features warrant prompt evaluation:
If you meet any of these criteria or if you remain concerned, speak to a doctor. You may also consider a free, online symptom check, using the doctor approved Ubie Symptom Checker to get personalized guidance before your appointment.
Clinical Examination
Dermoscopy
Nail Matrix Biopsy
Additional Tests
Subungual Hematoma
• Often resolves on its own as the nail grows out (several weeks to months).
• For pressure relief, a doctor may drill a small hole in the nail to drain trapped blood (trephination).
Benign Melanonychia
• No treatment is needed if a benign cause (like a nevus) has been confirmed.
• Monitor for any changes in size, shape or color.
Subungual Melanoma
• Surgical removal of the affected nail and underlying matrix is standard.
• Additional treatment (chemotherapy, immunotherapy or targeted therapy) may be required depending on staging.
Infections
• Topical or oral antifungal or antibiotic medications, depending on the organism.
• Nail debridement (trimming away infected tissue) in some cases.
Underlying Conditions
• Adjust or switch medications if drug-related pigmentation is suspected.
• Treat systemic diseases (e.g., Addison’s disease, endocarditis) in coordination with specialists.
If you notice any worrying changes or have symptoms that could be life threatening or serious, do not delay—speak to a medical professional as soon as possible. Your health and peace of mind are worth the check.
(References)
* Perales-Martínez DE, Moncada B, Rolón-Padilla A, Chávez-López MA. Poikilodermatomyositis. Reumatol Clin. 2012 Jul-Aug;8(4):227-8. doi: 10.1016/j.reuma.2011.10.013. Epub 2011 Dec 19. PMID: 22189157.
* Di Chiacchio N, Ruben BS, Loureiro WR. Longitudinal melanonychias. Clin Dermatol. 2013 Sep-Oct;31(5):594-601. doi: 10.1016/j.clindermatol.2013.06.007. PMID: 24079589.
* Moulonguet I, Goettmann-Bonvallot S. [Longitudinal melanonychia]. Ann Dermatol Venereol. 2016 Jan;143(1):53-60; quiz 51-2. doi: 10.1016/j.annder.2015.10.592. Epub 2016 Jan 12. PMID: 26795135.
* Charan S, Mishra K, Jandial A, Khadwal A, Malhotra P. Melanonychia. QJM. 2018 Dec 1;111(12):909. doi: 10.1093/qjmed/hcy149. PMID: 29986101.
* Littleton TW, Murray PM, Baratz ME. Subungual Melanoma. Orthop Clin North Am. 2019 Jul;50(3):357-366. doi: 10.1016/j.ocl.2019.03.003. PMID: 31084838.
* Lee DK, Lipner SR. Optimal diagnosis and management of common nail disorders. Ann Med. 2022 Dec;54(1):694-712. doi: 10.1080/07853890.2022.2044511. PMID: 35238267; PMCID: PMC8896184.
* Divyashree K, Gupta R, Chandana VS, Pannu AK. Hydroxyurea-induced lunular hyperpigmentation. BMJ Case Rep. 2022 Mar 15;15(3). doi: 10.1136/bcr-2022-249123. Epub 2022 Mar 15. PMID: 35292553; PMCID: PMC8928243.
* Fustà-Novell X, Esquius-Rafat M. Yellow Nail Syndrome. J Cutan Med Surg. 2024 May-Jun;28(3):320. doi: 10.1177/12034754241229366. Epub 2024 Feb 5. PMID: 38314712.
* Kournoutas I, Tung EE. Yellow Nail Syndrome. N Engl J Med. 2024 Jul 4;391(1):68. doi: 10.1056/NEJMicm2401377. PMID: 38959483.
* Ricardo JW, Bellet JS, Jellinek N, Lee D, Miller CJ, Piraccini BM, Richert B, Rubin AI, Lipner SR. Evaluation and diagnosis of longitudinal melanonychia: A clinical review by a nail expert group. J Am Acad Dermatol. 2025 Jul;93(1):176-187. doi: 10.1016/j.jaad.2025.02.075. Epub 2025 Feb 27. PMID: 40023404.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.