Extreme Speed strikes before Quick Attack.
Both are priority moves, but Extreme Speed has +2 priority while Quick Attack has +1 priority. In Pokémon's turn order system, higher priority moves always execute first regardless of Speed stats. Only moves with +3 priority (like Protect/Detect) or Prankster-boosted status moves can outpace Extreme Speed.
If two Extreme Speed users face off, the faster Pokémon moves first. This makes Extreme Speed one of the most reliable priority moves in competitive play.