diff --git a/rcfile.c b/rcfile.c
index 5566c420576fa92f170789bf046349013130e3b5..c778a95feaf526eae7a9d758a0e21ddde168230d 100644
--- a/rcfile.c
+++ b/rcfile.c
@@ -237,14 +237,18 @@ void parse_colors(FILE *rcstream, char *filename, int *lineno, char *buf, char *
 				tmpstr = tmpstr->next)
 			    ;
 
+#ifdef DEBUG
 		    fprintf(stderr, "Adding to existing entry for fg %d bg %d\n", fg, bg);
+#endif
 
 			tmpstr->next = nmalloc (sizeof(colorstr));
 			tmpstr->next->val = tmp;
 			tmpstr->next->next = NULL;
 		    } else {
 
+#ifdef DEBUG
 		    fprintf(stderr, "Adding new entry for fg %d bg %d\n", fg, bg);
+#endif
 
 			tmpcolor->next = nmalloc(sizeof(colortype));
 			tmpcolor->next->fg = fg;