Oil pipeline wax deposition is one of the major problems facing in the crude oil transportation flow line from the offshore to onshore through pipe. The wax deposition occurs because of the crude oil fluids temperature is decrease during the transportation process and cause solidification of wax components. Wax deposition in oil and gas production is one of the major flow assurance challenges the industry faces today. Wax deposition is mostly a temperature driven process which means that subsea pipelines are especially vulnerable. Wax precipitates from oil when it is cooled and the wax may deposit on pipeline walls. Wall deposits can lead to severe problems and need to be removed in an efficient way. It is difficult to perform accurate deposition measurements on real pipelines. The present study intends to use MATLAB simulator to predict wax deposited in a onshore pipeline using MATZAIN model. It provides idea of how wax is being deposited in pipeline and also suitable suggestions are also provided.