The pain of pins and needles under the right and left ribs is associated with a number of conditions and may be due to costochondritis, intercostal nerve injury, or rib fracture. It is recommended to go to thoracic surgery, orthopedics or dermatology. 1. Costochondritis: it is divided into non-specific costochondritis and infectious costochondritis. Infectious costochondritis is usually treated symptomatically only, and it is recommended to consult thoracic surgery. 2. Intercostal nerve injury: due to infection, thoracic spine lesion, tumor, trauma, metabolic diseases leading to intercostal nerve damage, it is recommended to consult the Department of Thoracic Surgery. 3. Rib fracture: Multiple rib fractures can also cause pins and needles pain under the right and left ribs, and it is recommended to consult thoracic surgery or orthopedics in time.