The Hamadi gold deposit is located in North Sudan, and occurs in the Neoproterozoic metamorphic strata of the Arabian–Nubian Shield. Two types of gold mineralization can be discerned: gold-bearing quartz veins and altered rock ores near ductile shear zones. The gold-bearing quartz veins are composed of white to gray quartz associated with small amounts of pyrite and other polymetallic sulfide minerals. Wall-rock alterations include mainly beresitization, epidotization, chloritization, and carbonatization. CO2-rich inclusions are commonly seen in gold-bearing quartz veins and quartz veinlets from gold-bearing altered rocks; these include mainly one-phase carbonic (CO2 ± CH4 ± N2) inclusions and CO2–H2O inclusions with CO2/H2O volumetric ratios of 30% to ∼80%. Laser Raman analysis does not show the H2O peak in carbonic inclusions. In quartz veins, the melting temperature of solid CO2 (Tm,CO2) of carbonic inclusions has a narrow range of −59.6 to −56.8 °C. Carbonic inclusions also have CO2 partial homogenization temperatures (Th,CO2) of −28.3 to +23.7 °C, with most of the values clustering between +4.0 and +20 °C; all of these inclusions are homogenized into the liquid CO2 state. The densities range from 0.73 to 1.03 g/cm3. XCH4 of carbonic fluid inclusions ranges from 0.004 to 0.14, with most XCH4 around 0.05. In CO2–H2O fluid inclusions, Tm,CO2 values are recorded mostly at around −57.5 °C. The melting temperature of clathrate is 3.8–8.9 °C. It is suggested that the lowest trapping pressures of CO2 fluids would be 100 to ∼400 MPa, on the basis of the Th,CO2 of CO2-bearing one-phase (LCO2) inclusions and the total homogenization temperatures (Th,tot) of paragenetic CO2-bearing two-phase (LCO2–LH2O) inclusions. For altered rocks, the Tm,CO2 of the carbonic inclusions has a narrow range of −58.4 to ∼−57.0 °C, whereas the Th,CO2 varies widely (−19 to ∼+29 °C). Most carbonic inclusions and the carbonic phases in the CO2–H2O inclusions are homogenized to liquid CO2 phases, which correspond to densities of 0.70 to ∼1.00 g/cm3. Fluid inclusions in a single fluid inclusion assemblage (FIA) have narrow Tm,CO2 and Th,CO2 values, but they vary widely in different FIAs and non-FIAs, which indicates that there was a wide range of trapping pressure and temperature (P–T) conditions during the ore-forming process in late retrograde metamorphism after the metamorphism peak period. The carbonic inclusions in the Hamadi gold deposit are interpreted to have resulted from unmixing of an originally homogeneous aqueous–carbonic mixture during retrogress metamorphism caused by decreasing P–T conditions. CO2 contributed to gold mineralization by buffering the pH range and increasing the gold concentration in the fluids.