Remaining useful life(RUL) estimation based on condition monitoring data is central to condition based maintenance(CBM). In the current methods about the Wiener process based RUL estimation, the randomness of the failure threshold has not been studied thoroughly. In this work, by using the truncated normal distribution to model random failure threshold(RFT), an analytical and closed-form RUL distribution based on the current observed data was derived considering the posterior distribution of the drift parameter. Then, the Bayesian method was used to update the prior estimation of failure threshold. To solve the uncertainty of the censored in situ data of failure threshold, the expectation maximization(EM) algorithm is used to calculate the posteriori estimation of failure threshold. Numerical examples show that considering the randomness of the failure threshold and updating the prior information of RFT could improve the accuracy of real time RUL estimation.