Urban effluents are rich in nutrients, organic matter, pharmaceuticals and personal care products (PPCPs), pesticides, hydrocarbons, surfactants, and others. Previous studies have shown that oysters Crassostrea gigas accumulate significant levels of linear alkylbenzenes (LABs) in sanitary sewage contaminated sites, but there is little information about its toxicological effects in marine bivalves. The aim of this study was to analyze the transcription of genes in two tissues of C. gigas exposed for 12, 24, and 36 h to LABs or sanitary sewage. Likewise, the activity of antioxidant and biotransformation enzymes was measured in oysters exposed for 36 h in all groups. Oysters exposed to LABs and oysters exposed to sanitary sewage showed different patterns of transcriptional responses. LAB-exposed oysters showed lower level of biological responses than the oysters exposed to sanitary sewage. Despite the ability of the oyster C. gigas to accumulate LABs (28-fold), the data indicate that these contaminants are not the cause for the transcriptional responses observed in oysters exposed to sanitary sewage. Possibly, the biological changes observed in the sanitary sewage-exposed oysters are associated with the presence of other contaminants, which might have caused synergistic, additive, or antagonistic effects. The results show that FABP-like and GST-ω-like messenger RNAs (mRNAs) have a rapid response in tissues of oyster C. gigas exposed to sanitary sewage, suggesting a possible protective response and a role in maintaining homeostasis of these organisms.