This research based paper’s focus is to develop a spanning tree approach for error detection and correction in the data being received at the receiver’s portal. The main objective of this paper is to ease the error detection process inculcated in the data received from a reliable source. The main contribution of this paper is the development of error detection algorithm which is integrated on Spanning Tree approach. Spanning tree (say T) is a tree composed of all the vertices and some edges of a connected, undirected graph(say G) where in every vertex lies in the tree but no cycles(or loops) are formed. The technique being used in the paper will help find the errors that are usually encountered during the transmission of the data unit. The traditional correction techniques are being coupled with the newly proposed method to attain the error-free data unit. © 2016, International Journal of Pharmacy and Technology. All rights reserved.