Immunohistochemical staining with immunoglobulins and complements may aid the diagnosis of patients whose clinical and histological findings are consistent with autoimmune bullous dermatoses (AIBD). We aimed to investigate the diagnostic value of immunohistochemical markers in lesional biopsy and perilesional frozen samples in AIBD. We included 136 cases from whom lesional biopsies and perilesional samples for direct immunofluorescence (DIF) examination were collected with a preliminary diagnosis of AIBD between January 2019 and January 2023. All diagnoses were reconfirmed by evaluating the clinical, histopathological, and serological findings and DIF results (C3, IgG, IgA, or IgM positivity compatible with the clinical diagnosis) altogether, although DIF results were considered a priority. After confirming the diagnoses, the samples were categorized as AIBD or the others. The perilesional tissues obtained for DIF simultaneously with skin biopsy and stored at −80 °C were thawed, and FFPE tissues were prepared. We performed immunohistochemical staining (C4d, C3d, IgG, and IgG4) on FFPE tissues of both lesional and perilesional samples. Strong, linear, or granular staining patterns at the dermoepidermal junction or the intraepidermal blistering space were considered positive in line with the diagnosis of the case. Cases other than AIBD were used as negative control tissues to assess the specificity of immunohistochemical markers. Of the 136 cases, 52 were diagnosed with AIBD. In lesional samples, the sensitivity of C4d, C3d, IgG, and IgG4 was 80.6 %, 69.4 %, 75 %, and 5.7 % with corresponding specificity of 100 %, 98.7 %, 89.6 %, and 97.4 %, respectively in pemphigoid diseases compared to a sensitivity of 18.2 %, 9.1 %, 70 %, and 9.1 % and specificity of 98.7 %, 100 %, 89.6 %, and 97.4 %, respectively in pemphigus diseases. In frozen samples, we detected expression in a limited number of cases. The sensitivity of C4d, C3d, IgG, and IgG4 was 8.7 %, 2.2 %, 19.4 %, and 2.2 %, with corresponding specificity of 100 %, 100 %, 98.5 %, and 98.6, respectively. There was a none to slight concordance rate between the IHC results of lesional tissues and perilesional frozen samples. Kappa coefficients for C4d, C3d, IgG, and IgG4 were 0.120 (P = 0.029), 0.111 (P = 0.050), 0.203 (P = 0.003), and - 0.15 (P = 0.846), respectively. Immunohistochemical staining with C4d, C3d, IgG, and IgG4 on biopsy samples collected from lesions may guide the diagnosis of AIBD, thereby eliminating the need for an additional biopsy and accelerating the diagnostic process.