A hibernate mapping file is an XML file that defines the relationship between a Java class and a database table. It specifies the mapping of the class properties to the table columns and describes any additional connections between the class and other classes or tables.