Fast octave passages are one of the more physically demanding things a pianist does, and the instinct to grip harder when they feel unstable is exactly backwards. Speed and control in octaves come from a loose, flexible wrist bouncing lightly between notes — not from a rigid hand locked into the octave shape and forced through the passage by brute effort.
Practice slowly at first, deliberately releasing tension in the wrist between each octave, almost as if you're gently bouncing rather than pressing. If your hand or forearm starts to feel fatigued or tight during octave practice, that's a direct signal to slow down and reset the loose wrist motion, rather than pushing through on tension. Fatigue is normal and worth resetting against; actual pain is a different signal entirely — stop, rest, and if it persists across sessions, talk to a teacher or a clinician rather than practicing through it.
This technique takes real time to develop — it's one of the more advanced physical skills in piano playing — so be patient with the process. Short, frequent practice sessions focused specifically on wrist looseness tend to build this technique more reliably than occasional long, effortful sessions that risk reinforcing exactly the tension you're trying to eliminate.
SightPiano's tempo control lets you isolate an octave passage and build it up gradually with SightRepeat, while SightMark confirms whether your slower, deliberate repetitions are actually landing cleanly before you allow yourself to speed up.
SightPiano is free to start, full-featured, with no time limit on the beginner curriculum.