Kidney transplantation is considered when a patient's kidney function has deteriorated to the point where it can no longer sustain life, or when other treatment options like dialysis are no longer effective.