SLC26A6 is essential for limiting the net absorption of oxalates by the gut and preventing kidney stones. Here, SLC26A6 is linked to nephrolithiasis.