How to Setup GPS Rescue Mode in Betaflight

GPS Rescue mode in Betaflight is similar to “Return to Home”. When you lose video or radio signal, the quad is supposed to return to you using GPS.

Don’t expect it to work like your DJI drone, because it doesn’t, yet. The quad doesn’t go back to exactly where it was launched, but close enough so you can get your signals back and regain control. It’s a useful feature to have in Betaflight if you fly long range, and it might save your drone one day :)

Check out my other Betaflight Tutorials.

Requirement for GPS Rescue Mode

  1. Flash your FC to Betaflight 3.5 or newer
  2. Setup a GPS module on your FC

This is the GPS module i use:

Barometer is not required, but recommended. Compass is not required and not used in Rescue Mode. The Kakute F7 FC has barometer built-in.

GPS Rescue Mode Configuration

Once you have setup GPS module, all that left is just software configuration.

You have to tweak the settings to make it work for your particular setup and environment. Make sure to check out the Betaflight wiki to fully understand what the parameters do:

In CLI, type in “get gps”, and you will get the list of GPS related parameters. Here I will show you the settings I changed in my quad.

set gps_rescue_min_sats = 6

Your quad won’t arm if the GPS has fewer locked on satellites than this parameter, so you might want to set it lower or even zero if you don’t want to wait before every flight. When you want to use GPS, then you just need to wait until it sees enough GPS before taking off :) (you can put that in OSD)

Note that if you take off before the GPS sees enough satellites, it won’t know where home is. Recommended number of Sats: 6 to 8.


set gps_rescue_angle = 45

It’s in degree. You might want to use a higher angle than the default 30, in case the quad isn’t strong enough to fight head wind. However if the angle is too steep it might struggle to stay in the air so it really depends on the power of your quad.

set gps_rescue_descent_dist = 100

It’s in meters, at what distance from home our drone starts to descent. Enter a distance which you think you should get your signals back reliably.

set gps_rescue_initial_alt = 50

It’s in meters, at what height the drone returns home. It should be high enough to avoid trees, buildings and power lines. But not too high so you can still see and hear it line of sight.

set gps_rescue_ground_speed = 1000

It’s in cm/s, at what speed the quad travels back. I find the default 2000cm/s a bit too fast so I set it to half that speed, 1000cm/s is about 36Km/hr.

set gps_rescue_sanity_checks = RESCUE_SANITY_FS_ONLY

Some people have unexplained disarm during rescue mode. This might be caused by this sanity check when it’s turned on. According to the wiki it’s not recommended to be turned off, otherwise if the quad hits something it won’t disarm and just keep spinning the motors.

The wiki also recommends setting it to “FS_Only” (Failsafe Only) if you are having trouble with the option “On”, which turns it off when it’s activated by a switch but only turns on when it’s in failsafe.

It’s really a hit and miss issue at the moment, and some people decided to just turn it off completely. But beware of the risk by doing so.

Activating GPS Rescue Feature

There are two ways to activate GPS Rescue mode, either by Failsafe, or a switch on your transmitter. I recommend setting it up on a switch first for testing before using it for failsafe.

Go to the Betaflight Modes tab and add a switch/AUX channel for GPS Rescue Mode.

Testing GPS Rescue Mode

Remove all props, verify that the GPS Rescue mode can actually get activated by the switch, and you can switch back to acro mode.

Keep in mind that the settings depend on your model and the environment so make sure to test it fully. Do this in an open field without any obstacles and people.

These GPS related elements in your OSD will help you understand what your quad is doing.

Fly in a straight line, past your descent distance and a bit more. For example, if your descent distance setting is 100 meters, fly 130-150 meters.

Pay attention to the home arrow in Betaflight OSD, make sure it’s pointing towards home. If it’s pointing other direction then there is probably something wrong, and do not activate GPS Rescue mode. Otherwise your quad would return someone else’s home!

Using GPS_Rescue for Failsafe

Once you know it’s working reliably, you can set it up for failsafe. In CLI type

set failsafe_procedure = GPS-RESCUE


Note that your quad will enter rescue mode if RC signal is lost, and it will go back to acro mode when RC signal is restored. At this point it’s possible that your video signal is still lost and you are flying blind!

So it’s important to assign rescue mode to a switch. When failsafe happens, put your switch to rescue mode as well. Only put your switch back to acro mode when you are ready to take over control.

What Happens when Rescue Mode is Activated?

The quad climbs or drops to a certain altitude, then it yaws around and starts going toward the direction of launch point. When it gets close enough, it will start to descent.

18 thoughts on “How to Setup GPS Rescue Mode in Betaflight

  1. Tavis

    When testing GPS Rescue, make sure you land and disarm between tests. This is because the rescue altitude is set to the highest altitude you reach during flight or the minimum setting number (whichever is greater, ie. the quad will never descend when rescue is activated, it will only ascend or maintain altitude). If you do multiple rescue tests without disarming, then the minimum altitude can stack higher and higher depending on how high you are flying and each test the quad will climb a little bit higher due to the altitude error stacking.

  2. Fei

    Thanks for explaination!
    What will drone doing when he returns to home, will it land automatically and disarm? For example if i have problems with radio.

  3. Steve Matthews

    Does anyone know whether this is possible using a FRSky GPS module? I have a feeling it’s not, and that the FrSKy only connects to the FrSky receiver not directly to the flight controller.

  4. Jacob Alao

    Hi Oscar. Thank you so so much for this information. I have a question based on the last section of your blog. If I set Gps rescue to failsafe and I experience failsafe and lose video at the same time. My quad starts heading back and it reconnects to my quad, but I am flying blind. U said set the switch to failsafe as well. How do I set both up, failsafe and switch if I can only chose one mode. Please advice. Thank you. I have learnt a lot.

  5. Roger

    Good information Oscar. I installed mine a couple of weeks ago (mini ublox M8N) strictly for lost quad location. I went out to check it out but due to a FC malfunction my quad went wildly out of control before i had a chance to ‘test’ the install. Long story short, got my GPS coordinates from my DVR, plugged them into my smartphone and it got me within 50 feet of my quad. :) With out the GPS i probably would have been hours trying to find the quad.

  6. Ashade

    I have experience the “drone falling out of the sky” issue. My question is: Why would sanity check make the quad behave properly when it doesn’t do that by arming through a switch. Have you test that? I have sanity check off because of this reason as of right now.

    1. Oscar Post author

      it’s really a hit and miss issue at the moment with Sanity Check. Make sure you understand the risk of turning it off. Sometimes it’s better to lose your quad than damaging something or someone more important.

  7. Eli

    Hi Oscar ! there’s one important detail in:
    set gps_rescue_initial_alt = 50

    where 50 is Alt in meters. this value means Absolute alt or above takeoff ?
    because in my place Absolute hight ( ground level ) is about 180 meters so if I write 50 meters my drone becomes a suicide machine )))

  8. WP

    Hi Oscar,

    non-failsafe scenario question:
    is it possible to take back the control if the mode was activated previously w. a switch?

    If I turn the mode off w. the switch within the minimum range (before the quad “lands”) it falls from the sky.



    1. Oscar Post author

      Yea if it was activated with a switch, you can put it back in acro mode anytime using that switch. What’s your Sanity setting?

  9. Pablo

    Thanks for this post! My next build will probably be a 6inch for mid/long range with gps, so this tutorial it’s perfect

  10. Mad Monkey FPV

    When I first tested this (less than descent distance) it just disarmed in flight.Does any modification beed to be made to the sanity checks tonprevent this?

    1. Oscar Post author

      You can try
      set gps_rescue_sanity_checks = RESCUE_SANITY_FS_ONLY
      or even OFF, but that’s not recommended according to the wiki.

    2. Dave

      You need to be beyond the minimum range of 100m, maybe its set as part of descent distance, not sure on that. The disarm I believe is a safety measure so the drone doesn’t fly autopilot straight into you being so close to its home coordinates. Personally I would like to see a safety check added that if it is activated by switch within the 100m range, it simply does nothing but beeps an alarm onscreen “proximity” or something instead of dropping out of the sky.


Leave a Reply

Your email address will not be published. Required fields are marked *

Are you Robot? *

For prompt technical support, please use our forum I check blog comments weekly.