Rheumatoid arthritis (RA) is a chronic autoimmune condition in which your immune system mistakes the linings of your joints as foreign and attacks them. The damage results in inflammation and pain.