This paper discusses issues related to reliability of mechatronic systems and proposes a method to calculate it. Since the software reliability is the crucial aspect that can influence the entire system reliability, it deserves special attention. Hence, this paper presents in addition the influencing factors on the software reliability.