The excessive use of antibiotics in aquaculture favors the natural selection of multidrug-resistant bacteria, and antimicrobial peptides (AMPs) could be a promising alternative to this problem. The most studied AMPs in teleost fish are piscidins, hepcidins, and β-defensins. In this work, we have found a new gene (defb2) encoding a type 2 β-defensin in the genome of gilthead seabream, a species chosen for its economic interest in aquaculture. Its open reading frame (192 bp) encodes a protein (71 amino acids) that undergoes proteolytic cleavage to obtain the functional mature peptide (42 amino acids). The genetic structure in three exons and two introns and the six characteristic cysteines are conserved as the main signature of this protein family. In the evolutionary analysis, synteny shows a preservation of chromosomal localization and the phylogenetic tree constructed exposes the differences between both types of β-defensin as well as the similarities between seabream and European seabass. In relation to its basal expression, β-defensin 2 is mostly expressed in the intestine, thymus, skin, and gonads of the gilthead seabream (Sparus aurata). In head kidney leucoytes (HKLs), the expression was very low and did not change significantly when stimulated with various immunocompetent agents. However, the expression was significantly down-regulated in the liver, head–kidney, and blood 4 h post-injection with the fish pathogen Vibrio harveyi. When infected with nodavirus, the expression was downregulated in brain at 7 days post-infection. These results denote a possible complementarity between the expression patterns of β-defensins and hepcidins. Further studies are needed to analyze gene duplications and expression patterns of β-defensins and describe their mechanism of action in seabream and other teleost fish.