Sunroofs are no bueno…especially ones that you need to thoroughly clean & lubricate w/ a specific expensive grease every 6 months or so to have any hope of it functioning correctly/smoothly (or not breaking)
Oh…& never, NEVER ever EVER do the “one touch open” feature first before popping it open w/ the vent button first. If you haven’t been practicing these 2 things then most likely your sunroof is jacked up in some fashion. Drain tubes could be clogged or bent too as mentioned, a crap load of water is “designed” to come into the sunroof tracks & drain through the tubes.
On my 2nd Raptor purchase I opted. To skip the roof, & guess what? While I was picking it up from the dealer they had TWO F150s, a king ranch & a Raptor, being shaken down for roof leaks saw the techs standing over the top on step ladders w/ garden hoses while other techs looked around trying to figure out where/how it was getting in
Having a giant hole
In the roof of what was otherwise a weathertight structurally sound cabin seems to be a dumb idea if you ask me anyhow, looks cool tho