diff --git a/brpc/channel.cpp b/brpc/channel.cpp
index c5c2e64b3ac36b60123332d92aa8c7aa0589c1cf..58e16b0c3d961e8738e0dc7d76499acfe09a1015 100644
--- a/brpc/channel.cpp
+++ b/brpc/channel.cpp
@@ -13,7 +13,7 @@
 #include "brpc/compress.h"
 #include "brpc/global.h"
 #include "brpc/span.h"
-#include "brpc/load_balancer_with_naming.h"
+#include "brpc/details/load_balancer_with_naming.h"
 #include "brpc/controller.h"
 #include "brpc/channel.h"
 #include "brpc/details/usercode_backup_pool.h"  // TooManyUserCode
diff --git a/brpc/load_balancer_with_naming.cpp b/brpc/details/load_balancer_with_naming.cpp
similarity index 96%
rename from brpc/load_balancer_with_naming.cpp
rename to brpc/details/load_balancer_with_naming.cpp
index 5546b71c5af1e251e420464be8814d304194de8b..927ab585593fd5775e2dcaba3527d0c74e581199 100644
--- a/brpc/load_balancer_with_naming.cpp
+++ b/brpc/details/load_balancer_with_naming.cpp
@@ -4,7 +4,7 @@
 // Author: The baidu-rpc authors (pbrpc@baidu.com)
 // Date: Wed Mar  4 10:49:35 2015
 
-#include "brpc/load_balancer_with_naming.h"
+#include "brpc/details/load_balancer_with_naming.h"
 
 
 namespace brpc {
diff --git a/brpc/load_balancer_with_naming.h b/brpc/details/load_balancer_with_naming.h
similarity index 100%
rename from brpc/load_balancer_with_naming.h
rename to brpc/details/load_balancer_with_naming.h
diff --git a/test/brpc_channel_unittest.cpp b/test/brpc_channel_unittest.cpp
index 880bae4551568d9d8086df32d8e0206d83abf406..58419859271b485f0dc81a783188ad93c142b530 100644
--- a/test/brpc_channel_unittest.cpp
+++ b/test/brpc_channel_unittest.cpp
@@ -22,7 +22,7 @@
 #include "brpc/policy/baidu_rpc_meta.pb.h"
 #include "brpc/policy/most_common_message.h"
 #include "brpc/channel.h"
-#include "brpc/load_balancer_with_naming.h"
+#include "brpc/details/load_balancer_with_naming.h"
 #include "brpc/parallel_channel.h"
 #include "brpc/selective_channel.h"
 #include "brpc/socket_map.h"