With the aim of semiotics and how it works on the basis of the film, the current research aims to investigate the film The Position of Mahdi by Hadi Hejazifar by using the method of semiotic analysis. The semiotic method of this research is according to John Fiske's method in three levels: descriptive (social codes), representational (technical codes) and ideological (ideological codes). In this regard, the film Mahdi's position, which was one of the productions of Iranian cinema in 1400, was studied based on John Fisk's semiotic analysis method. Mahdi's position film has been noticed from different angles about one of the commanders of the eight years of holy defense. In this film, the trace of the filmmaker's sufficient knowledge of all aspects of the film character's life is clear. Using the technology needed to make a film and the artistic literacy of the director himself in the current situation and also with the help of the production agents of a movie including; Actors, cinematographer, composer, editor, scene designer, screenwriter, other factors, and also by using detailed details about the location and time, he can easily introduce the different dimensions of Shahid Mehdi Bakri's personality. Based on the semiotics of John Fiske and the analysis of representation or technical codes of the six scenes, it is concluded that the film is about a commander of the holy defense who stands to the death in defense of his homeland in family relationships, thoughts, human perspective and command. From the recognition and representation of such works, it can be concluded that making a movie about commanders and influential figures during the eight years of the Holy Defense is an effective factor in promoting the culture of sacrifice and martyrdom and transferring the concepts of the Holy Defense to the current generations.