Of course, it can be argued that no "capital gain" is realisable until sale. We talk about achieving it on this forum, but legally there is no paper "capital gain." Perhaps your purpose is not to sell but instead to live off equity, for example. This should protect deductability.