The feeding habits and habitats of fish influence the morphology of the oral cavity. This study used gross anatomy, light microscopy, and scanning electron microscopy, in addition to morphometric analysis, to investigate the anatomical characteristics of the oral cavity roof in Pagrus pagrus and Boops boops, which have different dietary habits. The oral cavity roof appeared U‐shaped and divided into the palate and upper pharyngeal regions. The upper lip of P. pagrus was broad, while B. boops' upper lip was small and thin. Both species had a stratified squamous epithelium with an irregular shape and a folded surface. P. pagrus had a horseshoe‐shaped upper velum with a high middle part, and its surface resembled sea waves with obvious mucous‐secreting openings with cilia and many folds and grooves between them. B. boops's upper velum was thin and appeared as a triangle pouch with a pointed cranial apex. The palate in both species was narrow in the front and increased in width backward until it ended. The upper pharyngeal teeth in P. pagrus appeared as two patches, separated by a median longitudinal ridge and an anterior V‐shape separator. Meanwhile, in B. boops, they appeared as a ball patch on both sides and a separator ridge in the middle. Because P. pagrus fed on harder structures than B. boops, their feeding habits were reflected in the structure of the oral cavity roof. P. pagrus, a carnivorous species, had several rows of sharp upper jaw and upper pharyngeal teeth, thick spinous tubercles on oblique transverse ridges, and massive mucous glands. On the other hand, B. boops, an omnivorous species, had only one row of upper jaw teeth, a few upper pharyngeal teeth scattered on two oval patches, and thin filaments on the oblique transverse ridges.