This article utilizes the newly proposed nonparametric causality-in-quantiles test to examine the predictability of mean and variance of changes in gold prices based on inflation for G7 countries. The causality-in-quantiles approach permits us to test for not only causality in mean but also causality in variance. We start our investigation by utilizing tests for nonlinearity. These tests identify nonlinearity, showing that the linear Granger causality tests are subject to misspecification error. Unlike tests of misspecified linear models, our nonparametric causality-in-quantiles tests find causality in mean and variance from inflation to gold market price changes between the 0.20 quantile and the 0.70 quantile, implying that very low- and high-price changes in gold markets are not related to inflation. These changes should be related to other sources, such as financial shocks and exchange market shocks. We find support that gold serves as a hedge against inflation, but only in the mid-quantile ranges, i.e. quantiles from 0.20 to 0.70. Our results show that gold does not serve as a hedge against inflation during periods when gold market price changes are very low or very high, which are respectively quiet and highly volatile periods.