The potential role of human leukocyte antigen (HLA)-G as a target for new cancer immunotherapy drugs has increased the interest in the analysis of mechanisms by which HLA-G expression is regulated, and how the expression can be manipulated. We characterized HLA expression in breast cancer and malignant melanoma cell lines and investigated the induction of HLA-G expression by two distinct mechanisms: stimulation with interferon (IFN)-γ or inhibition of methylation by treatment with 5-aza-2’-deoxycytidine (5-aza-dC). The effect of IFN-γ and 5-aza-dC on HLA expression was dependent on the cancer cell lines studied. However, in general, surface expression of HLA class Ia was induced on all cell lines. Surface expression of HLA-G was inconclusive but induction of HLA-G mRNA was prevalent upon treatment with 5-aza-dC and a combination of IFN-γ and 5-aza-dC. IFN-γ alone failed to induce HLA-G expression in the HLA-G-negative cell lines. The results support that HLA-G expression is regulated partly by DNA methylation. Furthermore, IFN-γ may play a role in the maintenance of HLA-G expression rather than inducing expression. The study demonstrates the feasibility of manipulating HLA expression and contributes to the exploration of mechanisms that can be potential targets for immunotherapy in breast cancer and malignant melanoma.