Through MR mediation analysis, we found that GFD may confer protection against RA by modulating CD14+ CD16+ monocyte absolute count, CD14+ CD16+ monocyte %monocyte, and CD20 on IgD+ CD38^dim B cells. The gene discussed is CD38; the disease is rheumatoid arthritis.