The medical specialty that is concerned with the kidneys is nephrology.