diff --git a/source/Lib/EncoderLib/EncCu.cpp b/source/Lib/EncoderLib/EncCu.cpp
index f428f1532d5b109da04c21251cc4428be0cf9aaa..a40be7f1b4b51007297b35b5dc5835345d407065 100644
--- a/source/Lib/EncoderLib/EncCu.cpp
+++ b/source/Lib/EncoderLib/EncCu.cpp
@@ -10650,7 +10650,7 @@ void EncCu::xCalDebCost( CodingStructure &cs, Partitioner &partitioner, bool cal
     //     PelStorage&          picDbBuf = m_pcLoopFilter->getDbEncPicYuvBuffer();
     //  It is now possible to insert the code for bilateral filtering here.
     
-    if(cs.pps->getUseBIF())
+    if( cs.pps->getUseBIF() && ( !CS::isDualITree( cs ) || isLuma( partitioner.chType ) ) )
     {
       for (auto &currTU : CU::traverseTUs(*cu))
       {