A sunroof apparatus comprising: a movable panel that is adapted to open and close an opening formed in a roof of a vehicle; a guide rail that is provided in each edge portion of the opening in a lateral direction of the vehicle, and extends in a longitudinal direction of the vehicle; a support bracket that includes a front end portion supported by the guide rail, and supports each edge portion of the movable panel in the lateral direction of the vehicle; and a shoe member which is configured such that the shoe member can be moved along the guide rail in the longitudinal direction of the vehicle, and which is engaged with the support bracket, wherein each of the guide rails includes a substantially long bottom wall that extends in the longitudinal direction of the vehicle, and a pair of vertical walls which are erected upward from the bottom wall such that the vertical walls are parallel to each other in the longitudinal direction of the vehicle, and a pair of upper walls which respectively protrude from upper ends of the vertical walls in the lateral direction of the vehicle while facing each other in the longitudinal direction, wherein the movable panel is configured to be opened and closed along with movement of the shoe member in the longitudinal direction of the vehicle, and the sunroof apparatus being characterized in that the shoe member includes a limiting protrusion portion (35, 36, 51, 56) that protrudes in the lateral direction of the vehicle at a position higher than an upper surface (16, 17) of the upper wall of the guide rail, and is in contact with or is close to the upper surface (16, 17). a movable panel that is adapted to open and close an opening formed in a roof of a vehicle; a guide rail that is provided in each edge portion of the opening in a lateral direction of the vehicle, and extends in a longitudinal direction of the vehicle; a support bracket that includes a front end portion supported by the guide rail, and supports each edge portion of the movable panel in the lateral direction of the vehicle; and a shoe member which is configured such that the shoe member can be moved along the guide rail in the longitudinal direction of the vehicle, and which is engaged with the support bracket, wherein each of the guide rails includes a substantially long bottom wall that extends in the longitudinal direction of the vehicle, and a pair of vertical walls which are erected upward from the bottom wall such that the vertical walls are parallel to each other in the longitudinal direction of the vehicle, and a pair of upper walls which respectively protrude from upper ends of the vertical walls in the lateral direction of the vehicle while facing each other in the longitudinal direction, wherein the movable panel is configured to be opened and closed along with movement of the shoe member in the longitudinal direction of the vehicle, and the sunroof apparatus being characterized in that the shoe member includes a limiting protrusion portion (35, 36, 51, 56) that protrudes in the lateral direction of the vehicle at a position higher than an upper surface (16, 17) of the upper wall of the guide rail, and is in contact with or is close to the upper surface (16, 17).