Avoid walking barefoot in public spaces like the ... Certain medications Some medications can interrupt your nail growth or damage your nail beds, causing white lines to appear across the nail.