diff --git a/core/util.inc.php b/core/util.inc.php
index 11b9ad20..e5774191 100644
--- a/core/util.inc.php
+++ b/core/util.inc.php
@@ -219,6 +219,9 @@ function theme_file($filepath) {
 
 function captcha_get_html() {
 	global $config, $user;
+
+	if(DEBUG && ip_in_range($_SERVER['REMOTE_ADDR'], "127.0.0.0/8")) return "";
+
 	$captcha = "";
 	if($user->is_anonymous()) {
 		$rpk = $config->get_string("api_recaptcha_pubkey");
@@ -239,6 +242,8 @@ function captcha_get_html() {
 function captcha_check() {
 	global $config, $user;
 
+	if(DEBUG && ip_in_range($_SERVER['REMOTE_ADDR'], "127.0.0.0/8")) return true;
+
 	if($user->is_anonymous()) {
 		$rpk = $config->get_string('api_recaptcha_privkey');
 		if(!empty($rpk)) {