With the continuous development of modern network and communication technology, in view of the people to the location service especially rising demand based on the location of the indoor positioning services, as well as the existing indoor positioning method is complex and positioning accuracy is not high question, this paper proposes a fusion from coding and bluetooth stack location fingerprinting indoor localization algorithm has high precision, The algorithm using the stack from coding network first determine the coarse position of target, and use the network to predict location for the secondary position, finally use the fingerprint matching algorithm for accurate positioning of the final, average position precision can be up to 25 cm, finally through the simulation analysis this ask the performance of the proposed algorithm, this algorithm is verified indoor location can reduce the computation complexity, It can also improve the positioning accuracy.