Opn5 is a group within the opsin family of proteins that is responsible for visual and non-visual photoreception in animals. It consists of several subgroups, including Opn5m, the only subgroup containing members found in most vertebrates, including mammals. In addition, recent genomic information has revealed that some ray-finned fishes carry paralogous genes of Opn5m while other fishes have no such genes. Here, we report the molecular properties of the opsin now called Opn5m2 and its distributions in both the retina and brain. Like Opn5m, Opn5m2 exhibits UV light-sensitivity when binding to 11-cis-retinal and forms a stable active state that couples with Gi subtype of G protein. However, Opn5m2 does not bind all-trans-retinal and exhibits exclusive binding to 11-cis-retinal, whereas many bistable opsins, including fish Opn5m, can bind directly to all-trans-retinal as well as 11-cis-retinal. Because medaka fish has lost the Opn5m2 gene from its genome, we compared the tissue distribution patterns of Opn5m in medaka fish, zebrafish, and spotted gar, in addition to the distribution patterns of Opn5m2 in zebrafish and spotted gar. Opn5m expression levels showed a gradient along the dorsal-ventral axis of the retina, and preferential expression was observed in the ventral retina in the three fishes. The levels of Opn5m2 showed a similar gradient with preferential expression observed in the dorsal retina. Opn5m expression was relatively abundant in the inner region of the inner nuclear layer, while Opn5m2 was expressed in the outer edge of the inner nuclear layer. Additionally, we could detect Opn5m expression in several brain regions, including the hypothalamus, of these fish species. Opn5m2 expression could not be detected in zebrafish brain, but was clearly observed in limited brain regions of spotted gar. These results suggest that ray-finned fishes can generally utilize UV light information for non-image-forming photoreception in a wide range of cells in the retina and brain.