Lupus nephritis is an inflammation of the kidneys caused by systemic lupus erythematosus (SLE), an autoimmune disease. The condition occurs when the body's immune system mistakenly attacks its own tissues, including the kidneys. This can lead to impaired kidney function and, in severe cases, kidney failure.