Mastocytosis is an uncommon disease classified as a myeloproliferative neoplasm, however, its symptoms are broad and place patients at crossroads between dermatology, hematology and allergology. Patients with mastocytosis often suffer from symptoms resulting from the activation and release of mediators from the mast cells, such as generalized itching, redness, headache, abdominal cramps, diarrhea, bone pain or arthritis, hypotension and shock. The possible severe, fatal or near fatal reactions caused by food hypersensitivity are reasons for the research focused on marker identification. The aim of the study was to analyse the gene expression differences in mastocytosis patients with and without food and drug hypersensitivity and insect venom allergy (IVA). A total of 57 Caucasian patients with mastocytosis were studied [median age 41.8; range 18–77 years; 15 (26.3 %) males and 42 (73.7 %) females]. Quantitative RT-PCRs of 11 genes plus ribosomal 18S RNA were run. Symptoms of food hypersensitivity were found in 12 patients (21 %), including 3 patients (13 %) with cutaneous mastocytosis (CM), and 9 (28 %) with indolent systemic mastocytosis (ISM). IVA was confirmed in 13 patients (22.8 %) including 6 patients (10.5 %) with CM, and 7 patients (12.3 %) with ISM. Drug hypersensitivity was diagnosed in 10 patients (17.5 %). Significant differences in the gene expression were found for TRAF4 (p = 0.008) in the comparison of the mastocytosis patients with and without concomitant food hypersensitivity. Furthermore significant differences were found in gene expression for B3GAT1 (p = 0.003) in patients with IVA compared to patients without insect sting anaphylaxis in the medical history. The expression of studied genes did not differ according to the presence of drug hypersensitivity. The TRAF4 expression was higher in mastocytosis patients with food hypersensitivity in their medical history, the B3GAT1 expression was lower in mastocytosis patients with IVA in history.