PurposeThe study aims to design the limited number of random working cycle as a warranty term and propose two types of warranties, which can help manufacturers to ensure the product reliability during the warranty period. By extending the proposed warranty to the consumer's post-warranty maintenance model, besides the authors investigate two kinds of random maintenance policies to sustain the post-warranty reliability, i.e. random replacement first and random replacement last. By integrating depreciation expense depending on working time, the cost rate is constructed for each random maintenance policy and some special cases are provided by discussing parameters in cost rates. Finally, sensitivities on both the proposed warranty and random maintenance policies are analyzed in numerical experiments.Design/methodology/approachThe working cycle of products can be monitored by advanced sensors and measuring technologies. By monitoring the working cycle, manufacturers can design warranty policies to ensure product reliability performance and consumers can model the post-warranty maintenance to sustain the post-warranty reliability. In this article, the authors design a limited number of random working cycles as a warranty term and propose two types of warranties, which can help manufacturers to ensure the product reliability performance during the warranty period. By extending a proposed warranty to the consumer's post-warranty maintenance model, the authors investigate two kinds of random replacement policies to sustain the post-warranty reliability, i.e. random replacement first and random replacement last. By integrating a depreciation expense depending on working time, the cost rate is constructed for each random replacement and some special cases are provided by discussing parameters in the cost rate. Finally, sensitivities to both the proposed warranties and random replacements are analyzed in numerical experiments.FindingsIt is shown that the manufacturer can control the warranty cost by limiting number of random working cycle. For the consumer, when the number of random working cycle is designed as a greater warranty limit, the cost rate can be reduced while the post-warranty period can't be lengthened.Originality/valueThe contribution of this article can be highlighted in two key aspects: (1) the authors investigate early warranties to ensure reliability performance of the product which executes successively projects at random working cycles; (2) by integrating random working cycles into the post-warranty period, the authors is the first to investigate random maintenance policy to sustain the post-warranty reliability from the consumer's perspective, which seldom appears in the existing literature.