Rheumatic diseases are a reason for frequent consultation with primary care doctors. Unfortunately, there is a high percentage of misdiagnosis. To design an algorithm to be used by primary care physicians to improve the diagnostic approach of the patient with joint pain, and thus improve the diagnostic capacity in four rheumatic diseases. Based on the information obtained from a literature review, we identified the main symptoms, signs, and paraclinical tests related to the diagnosis of rheumatoid arthritis, spondyloarthritis with peripheral involvement, systemic lupus erythematosus with joint involvement, and osteoarthritis. We conducted 3 consultations with a group of expert rheumatologists, using the Delphi technique, to design a diagnostic algorithm that has as a starting point "joint pain" as a common symptom for the four diseases. Thirty-nine rheumatologists from 18 countries of Ibero-America participated in the Delphi exercise. In the first consultation, we presented 94 items to the experts (35 symptoms, 31 signs, and 28 paraclinical tests) candidates to be part of the algorithm; 74 items (25 symptoms, 27 signs, and 22 paraclinical tests) were chosen. In the second consultation, the decision nodes of the algorithm were chosen, and in the third, its final structure was defined. The Delphi exercise lasted 8months; 100% of the experts participated in the three consultations. We present an algorithm designed through an international consensus of experts, in which Delphi methodology was used, to support primary care physicians in the clinical approach to patients with joint pain. Key Points • We developed an algorithm with the participation of rheumatologists from 18 countries of Ibero-America, which gives a global vision of the clinical context of the patient with joint pain. • We integrated four rheumatic diseases into one tool with one common symptom: joint pain. It is a novel tool, as it is the first algorithm that will support the primary care physician in the consideration of four different rheumatic diseases. • It will improve the correct diagnosis and reduce the number of paraclinical tests requested by primary care physicians, in the management of patients with joint pain. This point was verified in a recently published study in the journal Rheumatology International (reference number 31).